Need Small Script.... 2

hi what i am trying to do is have a main field on a form with a fill button next to it and the rest of the form is uneditable. the main box is a url box and if a member adds a url to it and clicks the fill form button or even if it grabs the info while it is typed into the input field i want it to run a php function i have made and return the results into the rest of the form using ids and then once it has filled the form they can click submit and post the form.

i would prefer this in AJAX if possible so it fills the results in real time.

can anyone help.

i have had these suggestions

Quote:
you will need to either convert the PHP to javascript some how, consider submiting the info via ajax and parsing an XML response or submit the file twice, once to process the PHP, once for the actual submit. unfortunately, that's the best option since it offers the most accessibility.

Quote:
simple have the form submit to one page that runs the script, and at the same time configures the new action atribute of the form to the page to do your other stuff.

and also i would like a quote to convert it into a vbulletin plugin. thats 1 price for the job and the exatra price for vbulletin plugin.

this was originally made for me some years back but lost the actual file getinfo.php that has the grabber code to grab imdb info then it uses the following js code

<script type="text/javascript">

function ax()
{
if(document.getElementById('btnS').value=="Fill")
{
document.getElementById('txtTitle').value = "";
document.getElementById('nzbimage').value = "";
document.getElementById('nzbinfolink').value = "";
document.getElementById('vB_Editor_001_textarea').value = "";

axtitle();

aximg();
axlink();
axdesc();
}
}

function axtitle()
{
var uri = document.getElementById('url').value;

var xt = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
if (xt)
{
xt.onreadystatechange = function()
{
if (xt.readyState == 4 && xt.status == 200)
{
document.getElementById('txtTitle').value= xt.responseText;
document.getElementById('btnS').value="Fill"
}
}
document.getElementById('btnS').value="Filling...";
xt.open("POST", "getinfo.php?purl="+uri+"&preq=title", true);
xt.send("purl="+uri+"&preq=title");
}
}

function aximg()
{
var uri = document.getElementById('url').value;

var xi = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
if (xi)
{
xi.onreadystatechange = function()
{
if (xi.readyState == 4 && xi.status == 200)
{
document.getElementById('nzbimage').value= xi.responseText;
document.getElementById('btnS').value="Fill"
}
}
document.getElementById('btnS').value="Filling...";
xi.open("POST", "getinfo.php?purl="+uri+"&preq=img", true);
xi.send("purl="+uri+"&preq=img");
}
}

function axlink()
{
var uri = document.getElementById('url').value;

var xi = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
if (xi)
{
xi.onreadystatechange = function()
{
if (xi.readyState == 4 && xi.status == 200)
{
document.getElementById('nzbinfolink').value= xi.responseText;
document.getElementById('btnS').value="Fill"
}
}
document.getElementById('btnS').value="Filling...";
xi.open("POST", "getinfo.php?purl="+uri+"&preq=link", true);
xi.send("purl="+uri+"&preq=link");
}
}

function axdesc()
{
var uri = document.getElementById('url').value;

var xd = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
if (xd

Search All Jobs:

CodeIgniter (PHP-based MVC Framework) - Coding Of Sales History, Smtp Mail Authentication Php .. -- 2

coding of Sales History, smtp mail authentication php, fixing bug in banned user list, website offline during system under maintain and design logo

Skills Required: AJAX , Codeigniter , CSS , Logo Design , PHP
  • Fixed Price Project
  • Max $30
  • Job Expired

Upgrade PHP Version Of A CRE Loaded Store And Secure

I have several CRE loaded stores that have an outdated PHP version running on them and several depreciated errors. we also have a malicious script running that's spending out spam mail. We need these sites repaired starting with the one listed and the fastest and cheapest bid wins it. [url remo

  • Fixed Price Project
  • $30-$250
  • Job Expired

Anyone Can Make A Clone Of This Website?

Hello everyone, I want someone to make a website similar to the following website. i.e [url removed, login to view] If anyone can make something similar to that, please let me know. And I mean everything, specially the flash game its providing. Regards

Skills Required: Graphic Design , HTML , PHP , Website Design
  • Fixed Price Project
  • $250-$750
  • Job Expired

Redesign Existing Website

Redesign Existing Website for [url removed, login to view] - We are an existing IT business (Web Design, Smart Present (Videos, Animations), Point of Sale System, Software, Brochures, Namecards etc - Propose Wordpress Theme - Includes Learndash Plugin Integrated into system [url removed, login to...

Skills Required: Graphic Design , HTML , PHP , Website Design , Wordpress
  • Fixed Price Project
  • $30-$250
  • Job Expired

Minor Fixes In Autobidder In Penny Auction Website

New Penny Auction Web Site with Autobidder feature that does not work properly. Currently the calculations at the back end needs to be corrected to function properly. Needs minor adjustments! This is a PHP site. [url removed, login to view] Please contact me only if you can make fixes in a timely ma

Skills Required: AJAX , PHP
  • Fixed Price Project
  • $30-$250
  • Job Expired

Enhance Appearance Of Web App - Open To Bidding

Rearrange items and add logo in PHP web app per specific instructions without jeopardizing functionality or platform compatibility. All images provided.

Skills Required: Graphic Design , PHP
  • Fixed Price Project
  • $30-$250
  • Job Expired

CSS Pro Needed For Basic Job

Ok so i need HTML and CSS pro for a recurring job basic. please bid for the demo project and we can negotiate your monthly pricing everyone who writes "RKAR" in their proposal will be interviewed and i need someone who can do the demo project in few hours

Skills Required: AJAX , CSS , HTML5 , jQuery/ Prototype , PSD to HTML
  • Fixed Price Project
  • $10-$30
  • Job Expired

Looking Developer_ Rep

You will connect to a VPN and then access to the development server by RD, you need to have a high speed internet connection, good skills to communicate in English written and verbal. You should sing a NDA. You will work with a QA team...

Skills Required: C# Programming , HTML , JavaScript , MySQL , PHP
  • Fixed Price Project
  • $4-$6
  • Job Expired

Erstellen Einer Webseite

Wir suchen eine Agentur/Firma/Person die fuer uns eine professionelle Webseite erstellt. Wir verlangen eine professionelle Layoutgestaltung, moderne Programmierung und eine optimalen Vorbereitung für eine effektive Suchmaschinenoptimierung....

  • Fixed Price Project
  • €750-€1500
  • Job Expired

Build An Online Store

I'm looking for a Magento Expert to provide us with consultancy services for our ecommerce solution. The service should include review solution architecture and design and provide recommendations for enhancements...

Skills Required: eCommerce , HTML , PHP , Shopping Carts , Website Design
  • Fixed Price Project
  • $750-$1500
  • Job Expired

Job Details

  • Job Type
  • Fixed Price Job
  • Budget
  • $10-$35
  • Start Date
  • 05/10/2012 02:24:14 PM
  • Job Status
  • Job Expired