I was just in a chat on WinMX, in which I was given the following script. He couldn't get it working, and I was also puzzled.
The trouble is, that now it's bugging me!
Can somewone tell me where this script is wrong?
Now, I'm not the best at scripting. Not by a long shot, but I can't help but feel that theres not too much wrong with the above. I might be wrong though.
The trouble is, that now it's bugging me!
Can somewone tell me where this script is wrong?
Code:
<script language="JavaScript">
var counter
function looper()
{
counter = Math.round("Math.random()"*10)
alert("MICROSOFT SUCK! get out of this one billy!")
}
setTimeout("looper()",counter)
</script>
Now, I'm not the best at scripting. Not by a long shot, but I can't help but feel that theres not too much wrong with the above. I might be wrong though.