<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Erik. That worked perfectly. It was one of those "duhhhhh..."
moments as I read your email. I tried taking the "not" filter out of
the initial expression and chaining it onto the end but still only used
an expression rather than using a Jquery array. I did notice the index
method is actually faster than pulling 900 rows and filtering out 870
of them for a selection but at least I know how to accomplish this in
the future.
Thanks again.
Chris
Erik Beeson wrote:
<blockquote
cite="mid:
391255400810011333pad5acafv69e39d9ac1e25ecb@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Try this:</div>
<div> </div>
<div><span class="objectBox objectBox-text">$('.sMarker ~ row',
myTable).not($('.eMarker ~ row', myTable))</span></div>
<div> </div>
<div>That will get what you want, but I think it won't include the
.sMarker row. To get .sMarker also, maybe try:</div>
<div> </div>
<div>
<div><span class="objectBox objectBox-text">$('.sMarker,.sMarker ~
row', myTable).not($('.eMarker ~ row', myTable))</span></div>
<div><span class="objectBox objectBox-text"></span> </div>
</div>
<div>You can also do it by index without each() like this:</div>
<div> </div>
<div>var $rows = $('row', myTable);</div>
<div>var $range = $rows.slice($rows.index($rows.filter('.sMarker')),
$rows.index($rows.filter('.eMarker'))+1);</div>
<div> </div>
<div>Hope it helps.</div>
<div> </div>
<div>--Erik</div>
<div><span class="objectBox objectBox-text"></span> </div>
<div>
</div>