JavaScript and Submit

From: Date: Wed, 28 Mar 2001 19:28:19 +0000
Subject: JavaScript and Submit
Groups: php.general 
Request: Send a blank email to php-general+get-45854@lists.php.net to get a copy of this message
Actually, when I want to submit a form programmatically i do myform.submit() but what if i got like 3 submit buttons and each one with a name? ie: submit1 button, submit2 button, and submit3 button. if the users clicks on of them, i can check in the action file like: if (isset($submit1)) { ... } elseif (isset($submit2)) { ... } but programmatically, how can i write a code that simulates the submit2 click, so the last check (i just wrote) can really say that submit2 was clicked and continues? Sorry for poor english, hope i expressed my idea as I'm asking... -elias

« previous php.general (#45854) next »