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.
This needs to be done in JavaScript - nothing to do with Rails.
Scott Ribe wrote in post #1166486:
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.