Hi I want add a timer on a textfield, i have the javascript code, i just need how to call it
Here is the HTML code:
Code:<html> <head> <script type="text/javascript"> var timer = null function start(seconds){ var clock = seconds document.forms[0].display.value = clock seconds ++ timer = setTimeout("start("+seconds+")",1000) } </script> </head> <body onload="start(0)"> <form> <input type="text" name="display" size="20"> </form> </body> </html>


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks