You can remove the leading double slash? ...
$("tr[aID='1'][bID='2']").remove(); //v1.2+ only


Will B. wrote:
> 
> 
> Doesn't that still make it XPath style?
> 
> On Sep 11, 10:54 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
>> In version 1.2, you should be able to do the same thing by removing
>> the @ symbol from the selectors.
>>
>> --Karl
>> _________________
>> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>>
>> On Sep 11, 2007, at 9:45 AM, Will B. wrote:
>>
>>
>>
>> > Wow...it did show up, then!  Darn.  I reposted (almost) for nothing.
>> > Thanks for answering, Klaus.
>>
>> > Is there a way to do this w/o using XPath?  Now that it's been pushed
>> > off to a plugin, I'd rather stick with core Jquery.
>>
>> > - Will
>>
>> > On Sep 11, 8:31 am, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>> >> Will B. wrote:
>> >>> 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.
>>
>> >> Will, try:
>>
>> >> $("//[EMAIL PROTECTED]'1'[EMAIL PROTECTED]'2']").remove();
>>
>> >> --Klaus
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Multiple-XPath-selectors%2C-or-other%2C-for-custom-attributes-tf4422606s15494.html#a12619564
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to