I have a number of CSS attributes and Classes which get applied based on where the element appears in the HTML.
However some elements do not equal any of these values so i want to be able to check which elements in a DIV do not have a background set via CSS then apply a background.
Something like:
$('.divclass:has('background')').addClass('IneedaBG.gif');
Or
$('.divclass:has(not:class1,class2,class2)').addClass('IneedaBG.gif');