-
Notifications
You must be signed in to change notification settings - Fork 505
Closed
Description
Hiya,
With an older version of this library I have been getting errors in IE7 due to this selector:
form input[type=submit], form input[type=image], form button[type=submit], form button:not([type])
Specifically, the [type] part. Using the limited debugging tools available in IE it seemed that jQuery was trying to get the type attribute on the document element, which didn't exist, and hence caused an error.
I am not able to reproduce independently from my app code :(
However, I was able to solve it by changing the selector:
form input[type=submit], form input[type=image], form button[type=submit], form button:not(button[type])
I imagine this would be more performant in any case, because it has to match fewer elements.
Cheers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels