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:

О

Описание процесса рабо

Skills Required: AJAX , JavaScript , PHP , XML
  • Fixed Price Project
  • $10-$30
  • 5 years, 4 months left

Modificar Un Script De PHP (Urgente)

Necesito a un experto en PHP para ayudarme a corregir unos errores de un Script modificado. Es un trabajo urgente que se necesita iniciar hoy mismo y terminar el día de mañana, pero que un experto puede realizar sin problema. ...

Skills Required: AJAX
  • Fixed Price Project
  • $30-$300
  • Job Expired

PSD-Upload Und XML-Generator

Beschreibung Wir führen einen Web-to-Print Webshop, der eine besondere Auswahl an exklusiven Designmotiven für Einladungskarten zu den unterschiedlichsten Anlässen bietet. D...

Skills Required: AJAX , HTML , JavaScript , PHP
  • Fixed Price Project
  • €250-€750
  • 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

Webscraping Of Three Events Calendars With Macros To Do So Automatically, And Then Upload To Two Other Websites - Open To Bidding

I am interested in having macros setup to perform daily webscrapes of three event calendars. The data would need to be formatted into a standardized Excel CSV file that could then be uploaded into another calendar...

Skills Required: AJAX , Excel , Web Scraping
  • Fixed Price Project
  • $30-$250
  • Job Expired

Infinite Scroll In Custom Post Type Page

Hello Everyone, DONOT IGNOR MY BID BECAUSE I AM FROM BANGLADESH. I HAVE SEVERAL GOOD FEEDBACK AS A BUYER TOO. I have a wordpress website where I am using custom post type to display a style gallery.. http://jesponsive...

Skills Required: AJAX , MySQL , PHP , Wordpress
  • Fixed Price Project
  • $2-$8
  • 1 day, 8 hours left

Opencart - Store ID's In Session.

Hi, I need a script made. I have a plugin that uses the opencart product ID. So in the cart if I hit "customize tshirt" the plugin loads the tshirt by the product ID. So if I click customize "tshirt 1" with the id "54" it loads the plugin=?"54"...

Skills Required: AJAX , Java , JavaScript , jQuery/ Prototype , PHP
  • Fixed Price Project
  • £20-£250
  • 1 day, 14 hours left

I Need To Play Picasa Videos In Jw-Player 6

I want to play Google picasaweb videos in Jw-Player 6. sample video link : https://picasaweb.google.com/105367745879337912246/Cat1?authkey=Gv1sRgCLuqgaGQrYri-gE&noredirect=1#6001806858009986754 I need a plugin for this. Please add your website and skype id for fast return. Thanks

Skills Required: AJAX , Java , PHP , Wordpress
  • Fixed Price Project
  • $10-$30
  • 4 days, 15 hours left

Write Some Software- C# Imacros Java PHP Clone

Project Description: Description If you don't know what this is please don't bid **** We need a vendor to create a server or cloud based solution to handle multiple accounts of clients and Also the ability to handle multiple vendors ( RES...

  • Fixed Price Project
  • Min $5000
  • 4 days, 15 hours left

Fix The Search Function On A Php Website

Greetings Hyder, you already worked on this site, months ago. I need your help to fix the search function in italian language, since it works only in english.

Skills Required: AJAX , MySQL , PHP
  • Fixed Price Project
  • $10-$30
  • 5 days, 11 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