Closed
Description
The code example shows the following:
$( "span.subchild" ).parentsUntil( "div.grandparent" );
If the grandparent's id is used instead, you cannot use "#". Example:
$( "span.subchild" ).parentsUntil( "#grandpa");
But it will find it if you leave out the "#":
$( "span.subchild" ).parentsUntil( "grandpa");
This is inconsistent with the way selecting elements by id works with jQuery. Either fix this or indicate this issue in the documentation.
Metadata
Metadata
Assignees
Labels
No labels