This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes how to check leftover timer ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to check leftover timer ?" Watch "how to check leftover timer ?" New topic
Author

how to check leftover timer ?

simon tiberius
Greenhorn

Joined: Oct 30, 2012
Posts: 29
I wish to know if there's a way to check / display uncleared timer in javascript? it may be a new syntax or someway to monitor it in browser's add-on like firebug or chrome console. thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60741
    
  65

The is no method to check how much time is left on a timer. If you need this information you'll need to store the start time of the timer and compute the elapsed or remaining time from that,.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to check leftover timer ?
 
Similar Threads
How to stop a Timer after it's run more than once?
Flood Control (JButton)
How to inactivate a program automatically after a specified time period
How to check if a timer is still running or not ???
JButton with a pop up menu