$('tr[customID="123"]'); // all TRs with customID set to '123'

$('tr[aID="1"][bID="2"]'); // all TRs with aID set to '1' AND bID set to '2'



Will B. wrote:
> 
> 
> (I posted this yesterday, but it never showed up...  But since
> today's
> update on XPath being removed (and I don't need *another* .js or
> .css link!), I'd like to know how to do it non-XPath style, if
> there's
> a way...)
> 
> I currently know how to do this:
>   $("//[EMAIL PROTECTED]'123']").remove() ;
> 
> This removes a table row that of the style:  <tr customID="123" >
> 
> However, these rows in this complex table also have another fashion
> that I've been using:
>   <tr customID="123" aID="1" bID="2" cID="3">
> 
> How can I use Jquery to select rows that have aID="1" and bID="2", but
> (in this case) ignoring the customID and the cID.  Think of it like a
> database
> query.  I've setup so I can "get children" of A:10, B:50, if only I
> knew how!
> 
> Thanks
> - Will B.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-this-non-XPath-style...-tf4422812s15494.html#a12618085
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to