Hi, can anyone help me how to display the timer clock that counts the
time since a button is clicked. and then pause that time counter and
then restart and then stop. in Ruby on Rails
On Jan 11, 2015, at 10:53 AM, Umair T. [email protected] wrote:
Hi, can anyone help me how to display the timer clock that counts the
time since a button is clicked. and then pause that time counter and
then restart and then stop. in Ruby on Rails
That’s got nothing to do with Ruby or Rails. It will purely be
Javascript executing in the browser.
On Sun, Jan 11, 2015 at 9:53 AM, Umair T. [email protected]
wrote:
Hi, can anyone help me how to display the timer clock that counts the
time since a button is clicked. and then pause that time counter and
then restart and then stop. in Ruby on Rails
This needs to be done in JavaScript - nothing to do with Rails.
–
Hassan S. ------------------------ [email protected]
twitter: @hassan
On Jan 11, 2015, at 11:13 AM, Umair T. [email protected] wrote:
This link display the current time. how can i start increment in a time
from db or a counter starting from zero?
We’re not here to write your code for you. The link shows you how to
execute code periodically, which is what you need in order to increment
a counter periodically.
Scott R. wrote in post #1166486:
On Jan 11, 2015, at 10:53 AM, Umair T. [email protected] wrote:
Hi, can anyone help me how to display the timer clock that counts the
time since a button is clicked. and then pause that time counter and
then restart and then stop. in Ruby on RailsThat’s got nothing to do with Ruby or Rails. It will purely be
Javascript executing in the browser.
This link display the current time. how can i start increment in a time
from db or a counter starting from zero?