Select All options and Disable not working in IE

Posted by user1096909 on Stack Overflow See other posts from Stack Overflow or by user1096909
Published on 2012-08-30T03:16:07Z Indexed on 2012/08/30 3:38 UTC
Read the original article Hit count: 87

Filed under:
|
|

I'm having an issue in IE8 multiselect we are using jQuery to selectall and disable the list. List is being disabled but not selected and the same scenario is working perfectly in FireFox where the entire list is selected and disable

Can anyone help me how to handle this issue in IE

Thanks in advance

Below is my code:

<select name="weekdays" id="weekdays" disabled="disabled" multiple>
  <option value="Monday">Monday </option>
  <option value="Tuesday">Tuesday</option>
  <option value="Wednesday">Wednesday</option>
  <option value="Thursday">Thursday </option>
  <option value="Friday">Friday</option>
  <option value="Saturday">Saturday</option>
  <option value="Sunday">Sunday</option>
</select>

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about html