Quote:
Originally Posted by Smiggy
Code:
<script>
x = 0;
function count()
{
Object = document.getElementById('COUNT');
Object.innerHTML = "<a onClick="count()" id="COUNT">" + x + "</a>";
x = x + 1;
setTimeout("count()",1000);
}
</script>
<a onClick="count()" id="COUNT">Click to begin Counter.</a>
|
Not valid of JavaScript is turned off. You should really look into php for counting visitors.