Re: php & javascript interaction
| From: | Scripter47 | Date: | Fri, 26 Jan 2007 20:40:39 +0000 |
| Subject: | Re: php & javascript interaction | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-247852@lists.php.net to get a copy of this message | ||
Myron Turner skrev:
William Stokes wrote:Link: http://javascript.internet.com/ajax/ajax-navigation.html is migth be what you are looking for: http://javascript.internet.com/ajax/check-username-signup.html The cool thing with AJAX is that it can load pages while viewing the webpage. Without updating it! check out this chat i made with it: http://wsd.riddergarn.dk/index.php?p=chatHello, I need some advice on how to learn Javascript and PHP interaction. Any good tutorials on the web would be most welcome. I particulary need to learn how to pass JS user input/choices to PHP. My current problem is how to ask user confirmation over his actions on a web form after POST. "Are you sure" type questions and how to pass the user choice back to program make choices with PHP. Thanks -WillFor the second question try google with something like "javascript form submit". For the first question, see:http://ca.php.net/manual/en/language.variables.predefined.php Form data is captured in PHP in a number of different predefined variables accessible from your scripts. This page defines these varibables.Use AJAX