How to get anchor text/href on click using jquery?

Posted by Pandiya Chendur on Stack Overflow See other posts from Stack Overflow or by Pandiya Chendur
Published on 2010-04-16T11:05:08Z Indexed on 2010/04/16 11:13 UTC
Read the original article Hit count: 272

Filed under:
|

Consider i have an anchor which looks like this

<a href="~/Resumes/Resumes1271354404687.docx">
    ~/Resumes/Resumes1271354404687.docx
</a>

I want to get either href/text in jquery onclick of that anchor ...

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about anchor