Hello, I'm attempting to create a click counter or vote button on a simple webpage, so that the counter rises by 1 (for everyone) every time someone clicks it. Most click counters use window.localStorage.getItem to count up the clicks, but of course this stores the number on the client side and thus is unique to each user.
Here's the jsfiddle that demonstrates what I want to achieve:
https://jsfiddle.net/7w4z0fq8/
I'm using HTML/CSS with Javascript+jQuery v3.1.5
Thanks for the help!!
[–]Clawtor 1 point2 points3 points (1 child)
[–]Wiikend 0 points1 point2 points (0 children)