I\'m trying to code a hit counter for a website. As a preference, not required, I\'m trying to use Javascript to do this. On the website\'s html file, I\'m reading a number
Most sites with a counter I see with a lot of traffic use a timed counter and use ajax to get the real number upon load.
The benefits of this is you do not have a static counter and you get the real number once you refresh but like it has been said before, with only javascript it is not possible