Modify ↓
Ticket #11668 (closed bug: invalid)
can not work
| Reported by: | onemade@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.7.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
[testCase]
<select id="select">
<option value="val1" selected="selected">opt1</option> <option value="val2">opt2</option>
</select>
<script> $("select[name='opt2']").attr('selected',true); </script>
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

The bug tracker is for bug reports. Please ask for help on a forum such as StackOverflow or http://forum.jquery.com.