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
> name="submit" - instead using capitals - name="Submit"
>
> Cheers,
> Adam
>
> On Jun 6, 7:09 am, oana <[EMAIL PROTECTED]> wrote:
>
> > 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 without using the form's
> > button. that is, when i click the button from the applet i wnat to
> > fill in the fields AND trigger the submit action.
>
> > I think it is something with javascript, but i don't have may clues. I
> > am new to cake, and i am just learning the basics.
>
> > Thank you,
> > Oana
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to