Bug Tracker

Opened 10 years ago

Closed 10 years ago

#4931 closed bug (duplicate)

prev ~ siblings bug

Reported by: xfsn Owned by: john
Priority: major Milestone: 1.4
Component: selector Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:

Description

<div id="id1">1</div><p>2</p>

alert($("#id1 ~ p").text()); -> 2

<p id="id1">1</p><p>2</p>

alert($("#id1 ~ p").text()); -> empty, no element matched

Change History (1)

comment:1 Changed 10 years ago by john

Resolution: duplicate
Status: newclosed

Duplicate of #4243.

Note: See TracTickets for help on using tickets.