Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to check leftover timer ?" Watch "how to check leftover timer ?" New topic

how to check leftover timer ?

simon tiberius

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

Joined: Jan 10, 2002
Posts: 63532

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: how to check leftover timer ?
It's not a secret anymore!