trigger submit action from applet

2008-06-05 Thread oana
Hello, sorry if this has been asked before: i have a page which displays an applet and a form. in the applet i have some text fields and a button. When this button is clicked i use javascript to fill the inputs in the form with the values from the applet, but i don't know how to send the form

Re: trigger submit action from applet

2008-06-05 Thread Adam Royle
As you've said this is not related to cakephp, but rather just plain javascript. document.getElementById('id_of_your_form').submit(); If you are giving a name to your submit button, make sure it is NOT name=submit - instead using capitals - name=Submit Cheers, Adam On Jun 6, 7:09 am, oana

Re: trigger submit action from applet

2008-06-05 Thread oana
Thank you, it works just fine. On Jun 6, 12:56 am, Adam Royle [EMAIL PROTECTED] wrote: As you've said this is not related to cakephp, but rather just plain javascript. document.getElementById('id_of_your_form').submit(); If you are giving a name to your submit button, make sure it is NOT