You are here: Re: php javascript postback « PHP Programming Language « IT news, forums, messages
Re: php javascript postback

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация