Hey guys,
I have created a website that has a like feature. Every time someone clicks on the button it writes to my database and adds / removes a row (depending on if the user is liking or disliking the content).
Basically I want to stop a user from "spamming" the button. Maybe do something like, display an alert when they click the DIV 5 times within 1 second. Preferably in jQuery/Javascript?
Thanks!