RE: [PHP] Submit code

From: Date: Tue, 16 Jul 2002 13:29:14 +0000
Subject: RE: [PHP] Submit code
Groups: php.general 
Request: Send a blank email to php-general+get-107861@lists.php.net to get a copy of this message
Well, I'm not sure if this is what your looking for but the simplest way might be to use JavaScript. Have the second form that you want to post without a submit button being clicked have an onSubmit event. So on submit of the first form, javascript will submit the second without the user clicking a button. Check this link. http://www.devguru.com/Technologies/ecmascript/quickref/evhan_onsubmit.html Hope this helps, -Steve. -----Original Message----- From: MindHunter [mailto:MindHunter@mailbox.co.za] Sent: Tuesday, July 16, 2002 2:33 AM To: php-general@lists.php.net Subject: [PHP] Submit code I am looking for PHP code that will submit (post) a form automaically to a ANOTHER php page. I do not want to press a submit button. I have found a class at PHPClasses but it is too complicated for my needs. What is the simplest way of doing this? What is the theoretical approach? The reason I need this is that I have a table output from a database after one submits 'n list of variables (form inputs). I want to update a graph in another Iframe automatically without clicking on another submit button. Tx MH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#107861) next »