Modify ↓
Ticket #4569 (closed bug: duplicate)
Sizzle/Selector Bug: Siblings selector in IE, FF, and Opera
| Reported by: | bbonifield | Owned by: | john |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | selector | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
An attempt to pull siblings using $("#id ~ *") [ where #id is a div element ] will return an empty set. I took the code sample from http://docs.jquery.com/Selectors/siblings#prevsiblings and replaced the span#prev element with div#prev, and it no longer works in IE, FF, or Opera. The same code works properly in Webkit based browsers.
Working: http://jsbin.com/upuze Not working: http://jsbin.com/ujexu
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.

see #4931 for same bug... ;) (works fine with ffox 3.5.2 btw, the examples do not differ in ffox 3.5.2 ...)