I want to verify the class of a div by using its ID and checking if it has a specific class. Should the attribute prove to be true, I then want to set the css on a child element inside the DIV being validated. How do I do that?
$('#kwick_4').hasClass('active').css('background-position', '0px');
The css to be set, should be set on the image child element of the div:
#kwick4 img
How do I do that?
Thank you
OR
Simply