|
Posted by Jerry Stuckle on 01/09/07 02:11
trpost@gmail.com wrote:
> How can I do the following using php/javascript
>
> Page 1 has a form with a text field, when you click on a link next to
> the textfield it launches page2 where you click on a picture which
> returns a value back to page 1 without page 1 reloading.
>
> So basically I want to launch a new page2 from page1 and then return a
> value back to the form on page 1.
>
> Please provide a simple example code if possible.
>
> Thanks
>
You can't do it in PHP - PHP is executed on the server, so in order to
get something back in page 1, you'll have to reload the page or use Ajax.
Javascript can do it, though. Try a javascript newsgroup.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|