[jQuery] XHTML Selector Nightmare

[jQuery] XHTML Selector Nightmare


I really don't know why I'm having such a hard time with this (maybe its the
two monsters and three cups of coffee) but I'm trying to select a range of
rows in a 1000 row xhtml table, between starting row with class "sMarker"
and ending row with class "eMarker". I'm trying to use the following
selector...
$('.sMarker ~ row:not(".eMarker ~ row")',myTable)
In my mind this should take my ".sMarker" row, grab all sibling rows after,
and then filter out any rows that come after my ".eMarker" row. Or am I
just overthinking this?
Currently that selector will select ALL rows after my ".sMarker" excluding
the single row marked with ".eMarker".
Note: To filter out any responses that are blindingly obvious, the table
row tags in my xhtml are really "row" not tr.
I don't know how else to get this "between" functionality without using
indexes and the each iteration is a huge performance loss when dealing with
larger tables.
Please help because I can not wrap my head around this one this morning.
Thanks,
greenteam
--
View this message in context: http://www.nabble.com/XHTML-Selector-Nightmare-tp19766491s27240p19766491.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.