I have two forms
<form name='myform1'>
<input type='button' class='submitBtn'>
</form>
<form name='myform2'>
<input type='button' class='submitBtn'>
</form>
Both forms have a button with same class. How can I capture click event of only myform1‘s button(submitBtn) in jQuery?
Thanks.
WRONG: u cant have same
idon a same pageotherwise do below
TRY this
DEMO