SyntaxFix
Write A Post
Hire A Developer
Questions
this in your callback function refers to the clicked element.
$(".addressClick").click(function () { var addressValue = $(this).attr("href"); alert(addressValue ); });