We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c3e63b commit ead83b9Copy full SHA for ead83b9
src/event.js
@@ -922,7 +922,12 @@ if ( !support.submit ) {
922
// Node name check avoids a VML-related crash in IE (#9807)
923
var elem = e.target,
924
form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ?
925
- elem.form :
+
926
+ // Support: IE <=8
927
+ // We use jQuery.prop instead of elem.form
928
+ // to allow fixing the IE8 delegated submit issue (gh-2332)
929
+ // by 3rd party polyfills/workarounds.
930
+ jQuery.prop( elem, "form" ) :
931
undefined;
932
933
if ( form && !jQuery._data( form, "submit" ) ) {
0 commit comments