robcowie / jquery-stopwatch

A jQuery plugin that renders a count-up clock from a defined start time
http://robcowie.github.com/jquery-stopwatch/
87 stars 31 forks source link

startTime #10

Open fluctusz opened 11 years ago

fluctusz commented 11 years ago

i get strange count-intervals when setting startTime from an input field value for time-tracking over sessions. Any tip whats the problem?

    var checktime = $("#track_action").val();

    if(checktime != "start") 
    {
        $("#tracker").stopwatch({startTime: checktime}).stopwatch('start'); 
    }