最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c# - Display CountDown Timer in asp.net mvc 3 - Stack Overflow

programmeradmin1浏览0评论

I have a Form and a CountDown Timer .I have some problems :

  1. How can I display a CountDown Timer as : Hour : Minute : Second in asp mvc . When CountDown Timer (Hour=00 , Minute=00 , Second=00) , Form auto submit data.
  2. I have a Table in SQL with 2 columns : Name (nvarchar(250)) ; Minute (int). How can I load column Minute to CountDown Timer from SQL?

Hope , Everyone can help me! Thanks

I have a Form and a CountDown Timer .I have some problems :

  1. How can I display a CountDown Timer as : Hour : Minute : Second in asp mvc . When CountDown Timer (Hour=00 , Minute=00 , Second=00) , Form auto submit data.
  2. I have a Table in SQL with 2 columns : Name (nvarchar(250)) ; Minute (int). How can I load column Minute to CountDown Timer from SQL?

Hope , Everyone can help me! Thanks

Share Improve this question asked Apr 5, 2011 at 11:05 Quan TruongQuan Truong 851 gold badge1 silver badge5 bronze badges 1
  • the answers in this question may help. – richaux Commented Apr 5, 2011 at 11:24
Add a ment  | 

1 Answer 1

Reset to default 3

You could use a jquery plugin for this. There are many out there. Here's one you could use. It has callbacks like for example onExpiry which is triggered when the timer reaches zero so that you could submit the form.

发布评论

评论列表(0)

  1. 暂无评论