Click here to Skip to main content
16,004,969 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I'm developing a site for online exam. How do I use timer in that?
Posted
Updated 15-Feb-10 19:43pm
v3

You need to use JavaScript for that. You can use either SetInterval function or SetTimeOut method in JavaScript. Refer to the below links:

http://www.w3schools.com/js/tryit.asp?filename=tryjs_timing_clock[^]

http://www.w3schools.com/js/tryit.asp?filename=tryjs_setinterval[^]
 
Share this answer
 
v2
You can show time using javascript and after fininshing time set next page url in javascript.


set interval time and you can also display current time but you have to refresh page using javascript
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900