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:

Custom Module-based Role Playing Game Modification For VBulletin 4.x

I'm looking to have a module-based role playing game modification created for vBulletin 4.x software. This modification would start with a base/foundation module, which can then be built upon by carious other modules...

Skills Required: AJAX , HTML , MySQL , PHP , vBulletin
  • Fixed Price Project
  • $200-$900
  • 1 week left

Crear Una Página Web Para Móviles

Necesito una pagina web y también una app para iPhone y Android de finanzas personales que enseñe a controlar y organizar como administrar el dinero. Es similar pero no igual a bookeeping de Godaddy. Posea un archivo que explica todo en detalle. Es pequeña. D...

Skills Required: AJAX , Android , HTML5 , iPhone , jQuery/ Prototype
  • Fixed Price Project
  • $30-$250
  • Job Expired

Wordpress Template For Small Cleaning Business

I require an experienced developer to create a wordpress template suitable for a small cleaning business whois a friend of mine. I have some basic IT skills and have already purchased the domain address, hosting and installed the latest version of wordpress ready for the chosen developer to start...

Skills Required: AJAX , CSS , HTML , PHP , Wordpress
  • Fixed Price Project
  • £20-£250
  • Job Expired

SaaS Site :: UI Development And Reporting

We are in the final stages of developing a new SaaS platform for Reporting the length of time and Email is read for. The backend is written, tracking technology in place (tuning maybe required), the SaaS UI is based on the twitter bootstrap...

Skills Required: AJAX , jQuery/ Prototype , MySQL , PHP , Wordpress
  • Fixed Price Project
  • €250-€750
  • Job Expired

Bodybuilding Interactive Video Website

Deadline 7-14 days MAX Request: I am a athlete and me and my friends wish to make a website where we can share our videos and training about sports, nutrition, bodybuilding. Our videos are uploaded on vimeo, dropbox, and youtube...

Skills Required: AJAX , CSS , HTML , JavaScript , PHP
  • Fixed Price Project
  • $8-$15
  • Job Expired

Modify A PHP Site

1. We have existing site written in php 5.1 and we will need to convert to 5.3 or 5.5.x. 2. Other than current function, we will need to add in a few function. It's basically a form with many field and database to store data 3. a form about 50 fields in one page, with picture upload. 4...

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

Build An Online Store

CUSTOM SHOPIFY TEMPLATE NEEDED FOR ONLINE STORE SUMMARY: Midnight Provocateur is a small fashion company with big ambition. Currently, we are hiring for a technically savvy forward thinking Front-End developer to help develop a custom theme for our store...

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

Wordpress Insurance Comparison Tool PLUGIN

We need a comparison tool to compare insurances and insurance companies. We would like to replicate the look and functionality of websites such as these: http://www.mymoney.com.hk/ https://www.brokerfish.com/ https://www.nowcompare.com/

Skills Required: AJAX , HTML5 , MySQL , PHP , Wordpress
  • Fixed Price Project
  • $250-$750
  • 3 days, 5 hours left

Irc Web Client To Be Made

Hi I need a web irc clent making to replace my old one needs to be set up in my irc server folder so can be packed up once old one is gone

Skills Required: AJAX , HTML , HTML5 , jQuery/ Prototype , PHP
  • Fixed Price Project
  • $30-$250
  • 4 days left

Looking For Java Expert For JSP Website And Java Application

Hi, we are looking Java expert to create a Website in JSP along with Small Java Desktop Application...

Skills Required: AJAX , Java , JSP , MySQL
  • Fixed Price Project
  • $250-$750
  • 4 days, 5 hours left

Job Details

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