Hi ,
I've looked on Google for a solution to this but I'm not sure what to search for.
Basically I have a website that has a form and I want to pass a variable of the form to a JS popup box (Tinybox 2) which uses Ajax to post data to PHP. However, I can't work out how I would get the contents of:
<input name="welcomeboxInputA" type="text">
to the following code which posts in PHP to the popup box:
<a onclick="TINY.box.show({url:'post.php',post:'title=**TITLE FROM THE INPUT BOX** ' })">
Thanks for your help :-)



Reply With Quote

Bookmarks