Ticket #4605 (closed bug: duplicate)
Siblings (~) selector doesn't work right
|Reported by:||prokofyev||Owned by:||john|
$("#some_id ~ div") doesn't select DIV siblings if element with ID="some_id" is DIV itself.
$("#some_id ~ span") doesn't select SPAN siblings if element with ID="some_id" is SPAN itself.
Please, look for code sample here: http://stackoverflow.com/questions/793687/cant-select-span-sibling