Hi everyone,
I want to calculate the time between two clicks of an attribute with javascript but I don't know how.
For example;
<a href="#">click here</a>
if the user clicks more than once -let's say in 5 seconds- I want to display an alert. I'm using jQuery if that helps. I don't know much about javascript but I've been coding a small project in my free time.