It’s simple as creating an object and firing the timer:
var stopWatch = new jtl.stopWatch();
/* executed on "start" link clicked: */
stopWatch.executeOnRefresh(refresh); //function to execute on refresh
var value= stopWatch.splittime();
For more info — give a try to the examples and help info here.
Back in November, after few weeks of curiosity, I decided to give jQueryMobile a try. In my world that means: get the framework, create a real-life example and put it into the wild. It was “a must” especially in this case, because I couldn’t find any real-life example of using jQueryMobile back then (everything I managed to find was just these simple nice how-to tutorials, but I was interested in web apps, not mobile sites with few pages) It is always the same: everything looks fine with any framework when you read the documentation, but is it suitable (and where is it suitable) can be found only with real-life tests… Continue reading jQueryMobile: does it work?