如何实现coundown计时器 [英] How to implement coundown timer

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

问题描述

您好,



我正在尝试创建倒数计时器,该计时器有一个字段,用户可以输入分钟数并按下开始按钮计数器应该从该数字开始计数到零。我想用ASP.NET做到这一点你能告诉我怎么做或相关的例子也没关系。



提前谢谢

Hello,

I'm trying to create a countdown timer which is having a field where user can enter the number of minutes and press a start button and the counter should start counting from that number to zero. I want to do it using ASP.NET so can you please tell me how to do it or related examples is also fine.

Thanks in advance

推荐答案

参考 - jQuery倒计时Asp.net中的计时器脚本示例 [ ^ ]。



您只需要添加一个带有TimePicker控件的字段来选择时间然后更改在该字段中,您需要使用所选时间执行定时器代码。
Refer - jQuery Countdown Timer Script Example in Asp.net[^].

You just need to add one field with a TimePicker Control to pick the time and then on change of that field, you need to execute the Timer code with the selected Time.


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

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