Hi Karl,

thanks! I thought I have tried that and it didn't work, but it seems that
there was some other error.
Works perfectly! I have to really look at all this CSS stuff...

Patrick


Karl Rudd wrote:
> 
> Just use the usual CSS syntax for "OR", which is the comma. You can
> also pack the attribute assignment into one call:
> 
>     jQuery("td.L a,td.R a").attr( {"tabindex": -1, "disabled", true} );
> 
> Karl Rudd
> 
> On 2/9/07, patrick_wolf <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I'm new to jQuery and I'm looking for a selector expression to do an OR
>> search.
>> Couldn't find anything about that in the documentation and the mailing
>> list
>> (quite hard to search for OR...)
>>
>> I want to combine the following to statements into one, is that possible?
>>
>> jQuery("td.L a").attr("tabindex", -1).attr("disabled", true);
>> jQuery("td.R a").attr("tabindex", -1).attr("disabled", true);
>>
>> Thanks
>> Patrick
>> --
>> View this message in context:
>> http://www.nabble.com/Does-the-jQuery-selector-support-an-OR-condition--tf3196803.html#a8876769
>> Sent from the JQuery mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> jQuery mailing list
>> [email protected]
>> http://jquery.com/discuss/
>>
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Does-the-jQuery-selector-support-an-OR-condition--tf3196803.html#a8881785
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to