Ticket #4636 (closed feature: wontfix)
Another next function. either: $().nextOf() or $().verynext(sel)
|Reported by:||ericbojo||Owned by:||john|
|Keywords:||traverse, next, nextOf, veryNext||Cc:|
I think a good next function would be one that can find the Very next element that matches the selector.. For example: $("input[checkbox]").veryNext("input[checkbox]") would find only One elment that is the very next checkbox, either a Next sibling OR a descendent of a next sibling.
I think this is what people like me assume .next(sel) does, but it does not. Also Note that the "component" drop down below does not have a "traversing" item.
Why is this function needed? If I have a table of checkboxes, With the first column checkbox "enabling" the next column, it would be easier to implement with this function since the checkboxes are nested inside <tr><td> tags.