#8960 closed bug (duplicate)
attribute selector not working for IE 8 option selected attribute after AJAX requests
Reported by: | NaZaf | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.next |
Component: | selector | Version: | 1.5.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$("option [selected]") When I load html content using AJAX that includes a selected option, the attribute selector does not work.
For example
<option selected='selected'>text</option>
Now if I use
$("option[selected]") or $("option [selected]")
In IE8, I get empty result, but it works well in FireFox.
Change History (3)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Component: | unfiled → selector |
---|---|
Priority: | undecided → high |
Resolution: | → duplicate |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Here is a test case:
http://jsfiddle.net/kR2ks/1/