Opened 11 years ago
Closed 11 years ago
#11697 closed bug (invalid)
removeAttr 'selected' option does not work in Opera browser
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$("select option:selected").removeAttr("selected");
that string does not work in Opera
Note: See
TracTickets for help on using
tickets.
The pseudo
:selected
looks at the property but of course if you had used an attribute selector of[selected]
as the selector that wouldn't have worked reliably either. So be consistent, if you want to change the dynamic property value then change it!