View Single Post
Old 02-15-2008, 09:53 PM   #6 (permalink)
SpOrTsDuDe.Reese
Senior Moderator
 
SpOrTsDuDe.Reese's Avatar
Default

Quote:
Originally Posted by Smiggy View Post
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.
SpOrTsDuDe.Reese is online now   Reply With Quote