Modify ↓
Ticket #4432 (closed bug: invalid)
Selectors problem in IE
| Reported by: | matt | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | unfiled | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
The both codes work in FF3.0.7 and Chrome 2.0.169.1, but only the second one works in IE (tested on 7 & 8)
$('#combo > optgroup:visible > option:visible:first').attr('selected', 'selected');
$('#combo > optgroup:visible > option:visible').first().attr('selected', 'selected');
Change History
comment:1 in reply to: ↑ description Changed 4 years ago by matt
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.

Please set to invalid. Problem comes from another part of my original script. Sorry.