I have a page that has various select elements.
if i change a select (say the third one down), i want to select all elements (selects) from that point onwards:
i tried:
$j(id).nextAll('select').each(function(index) {}
but that doesn’t work (selects nothing)
It doesn’t work because
.nextAllgets the siblings that are following the DOM elements in your jQuery object. Most likely your HTML is structured such that there are no sibling select elements.You should provide more information about what you are trying to do, including accurate sample HTML so we can offer a working solution.