Wednesday, 14 August 2013

How to get the content inside the link that is clicked jQuery

How to get the content inside the link that is clicked jQuery

So I have a couple of links that run the same function when they are
clicked. But I need the text they contain as a variable in jQuery.
var myVariable = content inside link

No comments:

Post a Comment