I have a <a href="" > </a> on a page on my webiste. I wanted to count the number of clicks on this link by the user and display it. How can this be done?
I have a <a href= > </a> on a page on my webiste. I
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
best way to represent a counter for each a tag on your document and store the data with jquery.data, increasing the counter on each click,
example shown in here :
http://jsfiddle.net/ShlomiKomemi/dvdPd/13/