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>
__________________
<!-- I can type the entire Alphabet in 2.19 seconds -->
/* (X/D)Html, Css, Javascript, Ajax, Xml (DTD), PHP, MySQL, E4X */
/* Learning C++ and German */
|