How to capture a click on a href value using jQuery
Posted
by tonsils
on Stack Overflow
See other posts from Stack Overflow
or by tonsils
Published on 2010-06-02T02:31:55Z
Indexed on
2010/06/02
2:33 UTC
Read the original article
Hit count: 269
jQuery
Hi,
I have the following HTML code in the backend, ie.
<div class="navi">
<a class="" href="0"></a>
<a class="" href="1"></a>
<a class="" href="2"></a>
<a class="" href="3"></a>
</div>
Apologies for the basic question but I would like to use jQuery to capture the user's click when they only click on the href value of "0"
Basically want to hide a div called "info" when the user clicks on the where the href="0"
Unsure how to do?
Thanks.
© Stack Overflow or respective owner