Bug Tracker

Opened 7 years ago

Closed 7 years ago

#12190 closed bug (invalid)

hide(), addClass() is not working for option tag in IE 9.0.8 alone

Reported by: thulasirams1986@… Owned by: thulasirams1986@…
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

<select id="ddlTest">

<option value="A">A</option> <option value="B">B</option> <option value="C">C</option> <option value="D">D</option>

</select>​

$(document).ready(function(){ $('#ddlTest').find('option[value="A"]').hide().addClass('HideClass'); $('#ddlTest').find('option[value="C"]').addClass('Red');

$('#ddlTest').val('C').trigger('change');

});​

.HideClass {

display: none;

}

.Red {

color:red;

} ​

http://jsfiddle.net/nanoquantumtech/wd3zL/

Change History (2)

comment:1 Changed 7 years ago by dmethvin

Owner: set to thulasirams1986@…
Status: newpending

This seems to occur without jQuery as well, can you confirm?

http://jsfiddle.net/wd3zL/5/

comment:2 Changed 7 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.