Reputation: 427
How would I access parent div
and check if it has a specific class
<div class="current">
<img src="aaa.jpg" class="me-child">
</div>
with jquery clicking on the div
and using this
keyword, I want to know if parent div
has the class of current
thanks
Upvotes: 0
Views: 50