[jQuery] Combination of several filters

[jQuery] Combination of several filters


Hi All,
Here is a simple code:
var cl =
$j("input[class='inputbox'][value='']").parent().parent().filter("tr[class^='comdebt'][class!='comdebt1
specify1'][class!='comdebt2 specify2'][class!='comdebt3
specify3']").attr('class');
as you can see I need to deselect tr with classes ended with "specify1",
"specify2" etc. (the code does not look nice)
How can I deselect classes ended with some names? it is clear how to SELECT
those, but not opposite...
I tried adding .not("tr[class*='specify']") but it does not work
any ideas?
--
View this message in context: http://www.nabble.com/Combination-of-several-filters-tp18145324s27240p18145324.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.















    • Topic Participants

    • ecm