how to set time for 30 min or 60 min

Posted by Srinu0411 under Regular Expressions on 3/10/2010 | Views : 1493 | Status : [Member] | Replies : 3
Hello Friends,
iam working on online exam.
my problem is how to set time for 30min or 60 minutes
admin will set time as he like(30min or 60 minutes etc)
during exam time should display as desired by admin.Time should reduce like (30min,29min etc).Till time is completed
any budy help me

kaja srinivas


Responses

Posted by: Abhi2434 on: 3/10/2010 [Member] [Microsoft_MVP] [MVP] Silver

Up
0
Down
This is not a big deal. Just put a variable in the page with the time.

Now use SetInerval to decrease the time and show it in a span.
When the time is moved to 0 seconds, you timeout.

This is easy to implement, if you cant do, let me know..

Cheers.

www.abhisheksur.com

Srinu0411, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Srinu0411 on: 3/10/2010 [Member] Starter

Up
0
Down
Please give me one example or describe me using code

kaja srinivas

Srinu0411, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Srinu0411 on: 3/11/2010 [Member] Starter

Up
0
Down
hi abhi please describe me
elabrately using code

kaja srinivas

Srinu0411, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response