Author:
erics, May 2nd, 2012
If you have a named submit button in your form, submit() will fail. The solution is to change
|
<input type="submit" name="submit" value="hello" /> |
to
|
<input type="submit" value="hello" /> |
Here is a link to the bug report on jquery: http://dev.jquery.com/ticket/4652
Categories: How-To's, Technology Tags: Button, howto, JQuery, Submit, tips
|
No comments
Author:
erics, July 2nd, 2011
|
var WhichButton; jQuery('button').live('click', function() { WhichButton = this.id; }); jQuery('form').live( 'submit', function() { alert( 'Button ID: ' + WhichButton ); return false; }); |
Categories: How-To's, Technology Tags: Button, Find, form, howto, ID, JQuery, Submit, tips
|
No comments
Author:
erics, May 3rd, 2011
|
<select onchange="this.form.submit();"> |
Categories: How-To's, Technology Tags: form, javascript, JS, onchange, Submit
|
No comments