Ticket #9742 (closed bug: invalid)
:selected selector doesn't work with form attribute selector
| Reported by: | matt.campbell@… | Owned by: | matt.campbell@… |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | selector | Version: | 1.6.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
The following code works in 1.6.2:
$('form select option:selected')
The following code does NOT work:
$('form[name="formname"] select option:selected')
Change History
comment:1 Changed 23 months ago by timmywil
- Owner set to matt.campbell@…
- Priority changed from undecided to low
- Status changed from new to pending
- Component changed from unfiled to selector
comment:2 Changed 22 months ago by trac-o-bot
- Status changed from pending to closed
- Resolution set to invalid
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!
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Works for me: http://jsfiddle.net/timmywil/g9gHt/
Which browser are you using and can you reproduce in a test case?