如何防止计时器刷新。 [英] How do I prevent timer to refreshing.

查看:88
本文介绍了如何防止计时器刷新。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在建立一个在线考试系统,它工作正常,但我需要添加两个功能,我被卡住了。一个是..

1.当我点击屏幕上显示的链接问题时,我必须在页面上以链接格式显示回答的问题我正在使用标签和单选按钮来显示问题。

2.当我回答一个问题时,整个页面刷新以及倒计时器,以便计时器开启。我想连续运行计时器页面刷新不影响计时器。

如果有人有解决方案请提供给我。谢谢。

i have been building a online examination system it is working fine but i need to add two more functionalities and i am stuck. one is..
1.skipped questions must show on the page in link format for answering when i click on that link question appear on the screen i am using label and radio buttons for showing the question.
2. when i answer one question the whole page refresh along with count down timer so timer sets on. i want to run the timer continuously page refresh do not effect on timer.
if some one has solution please provide me. thanks.

推荐答案

由于您对客户端浏览器的控制很少,因此您的服务器应该处理一些关键功能,如保持时间。
Since you have very little control on the clients browser, some critical functionality like keeping time should be handled by your server.

这篇关于如何防止计时器刷新。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆