problem with selector
problem with selector
hello
i m using jquery to do this:
- jQuery('tr:has(.filterline) .jquery-selectbox-moreButton').each(function(){
this.hide();
});
and the problem is that hide all on 'tr:has(.filterline) and hide all element that have class .jquery-selectbox-moreButton
i want to have only tr:has(.filterline) with child .jquery-selectbox-moreButton to hide element
i try something like this :
- jQuery('tr:has(.filterline) > .jquery-selectbox-moreButton').each(function(){
this.hide();
});
- or
- jQuery('tr:has(.filterline) ~ .jquery-selectbox-moreButton').each(function(){
this.hide();
});
but its not working...
any idea?
thanks a lot