how to send 2 form in just on click ?

1 view
Skip to first unread message

Kiwi de coder

unread,
Sep 17, 2008, 4:04:31 AM9/17/08
to mootool...@googlegroups.com
hi,

my html have 2 form ? I want it to send value in both form when i click an button. Is that possible to do it in mootools ?

any idea ?

kiwi
----
happy hacking !

hellspawn

unread,
Sep 17, 2008, 6:48:19 AM9/17/08
to MooTools Users
give an id to second form
add an click event on send button on first form, that does
$(id_second_form).submit()

Kiwi de coder

unread,
Sep 18, 2008, 1:43:11 AM9/18/08
to mootool...@googlegroups.com
what if I wan to send ajax request within 2 form ?

how the code should look like ?

with just one click, it will wrap value in 2 form and send to one url ?

kiwi
-----
happy hacking
Reply all
Reply to author
Forward
0 new messages