[jQuery] submit() not firing..help
Hi All,
Im using jquery-latest-pack, just wondering why below code doesn't
attached to submit button
$("#frmLogin input[@name='doLogin']").submit(function() {
alert("Test, i was submitted...")
}}
tried doing $("#frmLogin input[@name='doLogin']").val() to see if the
its the correct element, it worked but when submit() was attached ...it
doesn't work.
Need inputs if im doing right or maybe just missing something..thanks in
advance...
Cheers
cdelfino
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/