Modify ↓
Ticket #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: | |
| Blocking: | Blocked by: |
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); |
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
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 .