Submit event from few forms
Posted
by Coyod
on Stack Overflow
See other posts from Stack Overflow
or by Coyod
Published on 2010-04-07T22:36:38Z
Indexed on
2010/04/08
8:13 UTC
Read the original article
Hit count: 176
jQuery
I have a two or more forms on my page in a row. I'm trying to hook submit event like:
$('form',someObj).submit(function(e){
/* Do some stuff with ajax */
return false;
});
But always receive events only from a first (by code) form.
Also used each() function to bind event for each object, same thing..
What's wrong? Thanks!
© Stack Overflow or respective owner