Ticket #4569 (closed bug: duplicate)
Sizzle/Selector Bug: Siblings selector in IE, FF, and Opera
|Reported by:||bbonifield||Owned by:||john|
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.