SyntaxFix
Write A Post
Hire A Developer
Questions
You can get current href value by this code:
$(this).attr("href");
To get href value by ID
$("#mylink").attr("href");