Side navigation
#10208 closed bug (fixed)
Opened September 07, 2011 02:48AM UTC
Closed September 07, 2011 09:03PM UTC
Last modified March 08, 2012 10:56PM UTC
$("form").live("submit", fn) not fired from <button type="submit"> in IE8
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.6.4 |
Component: | event | Version: | 1.6.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Only with jQuery 1.6.3 in IE8, $("form").live("submit", fn) not fired from <button type="submit">.
<script> $(function(){ $('form').live("submit", function(){ alert("before submit"); }); }); </script> <form action="javascript:alert('submit!!!');"> <input type="submit" value="submit by input"> <button type="submit">submit by button</button> </form>
it doesn't work correctly:
- jQuery 1.6.3 + IE8
it works correctrly:
- jQuery 1.6.3 + IE9
- jQuery 1.6.3 + firefox7
- jQuery 1.6.3 + chrome14
- jQuery 1.6.2 + IE8
- jQuery 1.6.2 + IE9
- jQuery 1.6.2 + firefox7
- jQuery 1.6.2 + chrome14
Any other combination, I haven't confirmed.
...Sorry for poor English (-_-;)
Confirmed. http://jsfiddle.net/timmywil/fN8ym/