Skip to main content

Bug Tracker

Side navigation

#8960 closed bug (duplicate)

Opened April 25, 2011 12:58AM UTC

Closed April 25, 2011 04:43AM UTC

Last modified April 25, 2011 04:43AM UTC

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.

Attachments (0)
Change History (3)

Changed April 25, 2011 01:03AM UTC by anonymous comment:1

Here is a test case:

http://jsfiddle.net/kR2ks/1/

Changed April 25, 2011 04:43AM UTC by timmywil comment:2

component: unfiledselector
priority: undecidedhigh
resolution: → duplicate
status: newclosed

Changed April 25, 2011 04:43AM UTC by timmywil comment:3

Duplicate of #7128.