I'm attempting to display a dropdown menu when the user clicks on the gear-img
div using jQuery. However, because it's wrapped inside an a
tag, clicking redirects me to a URL. I also want the entire div to be clickable. Any suggestions for a solution or a better approach?
<a href="http://www.google.com">
<div class="content">
<div class="gear-img"><img src="images/ic-settings-black-24-px.svg"></div>
<div class="dropdown"></div>
</div>
</a>