nextUntil selecting too many items
Hi there.
I have a simple table structure, like this:
<tr class="odd"><td>..</td></tr>
<tr class="even detail"><td>..</td></tr>
<tr class="odd detail"><td>..</td></tr>
<tr class="even detail"><td>..</td></tr>
<tr class="odd"><td>..</td></tr>
<tr class="even"><td>..</td></tr>
I'm standing at the first tr and I want to select every following tr whose class does include "detail". I'm trying to do it with the following idiom:
jQuery(this).nextUntil(["class!=detail"]);
However it's returning every tr, no matter if it includes "detail" or not. What is my mistake?
TIA,
Mariano