Opened 14 years ago
Closed 13 years ago
#4199 closed bug (invalid)
[validate] Error with SELECT on IE8 rc1
Reported by: | tuxom | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3.2 |
Component: | plugin | Version: | 1.3.1 |
Keywords: | select ie8 | Cc: | |
Blocked by: | Blocking: |
Description
There is an error with select evenment on IE8 rc1 for the validate plugin.
The error come from method required: function(value, element, param) where options[0].attributesvalue? is null so options[0].attributesvalue?.specified throw an error.
With IE8, the method to get a select value seems to have changed. A workaround is to add &&($.browser.version<8) into:
($.browser.msie && !(options[0].attributesvalue?.specified) ? options[0].text : options[0].value).length > 0); |
so the result work :
($.browser.msie && ($.browser.version<8) && !(options[0].attributesvalue?.specified) ? options[0].text : options[0].value).length > 0); |
Note: See
TracTickets for help on using
tickets.
This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .