[jQuery] Does the jQuery selector support an OR condition?
[jQuery] Does the jQuery selector support an OR condition?
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 discuss@jquery.com http://jquery.com/discuss/