Quantcast
Channel: jquery hit counter - Stack Overflow
Browsing index pages (2 articles)
↧

jquery hit counter

I create a unique hit/click counter works on ip.To display the number of clic, I use on the body tag the onload function.For example:<body class="homepage" onload="affiche_compteur('compteur1');...

View Article


Answer by Adil Shaikh for jquery hit counter

if(xhr.readyState == 4 && xhr.status == 200){ $(document).on('click','#'+id_clics,function(){ gestionClic(id_clics); }); document.getElementById(id_clics).innerHTML = xhr.responseText; }

View Article

Browsing index pages (2 articles)


Latest Images