Re: [PHP] JavaScript and Submit

2001-03-28 Thread elias
Exactly, that how i'm doing at the moment, adding a hidden form that get changed after the onclick event of any of my fake submit buttons and even my objects. "Renze Munnik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Ehhh... do you want to have them all g

Re: [PHP] JavaScript and Submit

2001-03-28 Thread Renze Munnik
Ehhh... do you want to have them all go to the same page after a submit? With real submit buttons: If you don't, you can just change the 'action' of your form at the moment that someone pushes one of the submit-buttons. With 'fake' submit buttons: Otherwise (if they all have to go to the same pa

[PHP] JavaScript and Submit

2001-03-27 Thread elias
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)) { ... } e