Negation
Negation
I can apply a class to anchors that contain images like this:
$('#info a').children('img').parent().addClass('myclass');
However, I want to be able to apply the class to anchors that do not have images. How would I change my code to accommodate that?
Thanks-
george