<script language="vbscript">
alert("Click to start timer.")
x=Timer
document.write(x)
alert ("Click to end timer.")
y=Timer-x
alert ("Elapsed Seconds: " & y)
</script>
Instructions :-
alert("Click to start timer.")
x=Timer
document.write(x)
alert ("Click to end timer.")
y=Timer-x
alert ("Elapsed Seconds: " & y)
</script>
Instructions :-
- Copy this above code and paste it in notepad
- Save it with an extension .html
- Run it on Internet Explorer only.It might not work on other browser as they do not support vb language.
No comments:
Post a Comment