Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Countdown Timer

 
Saumyaraj Zala
Ranch Hand
Posts: 56
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to have a count timer on my web page which will decrement with each second and when it becomes zero then my page would get submitted(online-test). I can do this my using javascript but is there any good alternative?
Thanks for your answer.
 
J. Kevin Robbins
Bartender
Posts: 1759
19
Chrome Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope. You are talking about an automatic request from the client and Javascript is the only thing that's going to do that for you.

You could probably do it with an applet*, but considering the security implications, applets have fallen out of favor and are not recommended for new development. Most companies, such as ours, have disabled Java in the browser, rendering applets obsolete.

*I've never written an applet and I'm not familiar with all their capabilities, so take that with a grain of salt.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic