0

I have used this Time picker script for input type,and time picker value is coming like this:

Input type value

And i have a timer ,Timer 2000sec static now and i want to make it dynamic. Timer 2000sec static now and i want to make it dynamic The script of the timer is this:

var gdTimer = new Countdown({
time:2000, 
//time:$("#gd_time").val(),  
//Id of the input value time-picker coming as shown in image format "01:05"
rangeHi:"hour",
numbers     :   {
    color   : "#FFFFFF",
    rounded : 0.15 
}
});

I want to replace the time:2000, statics to dynamic ,the input value is is coming with "hours:minutes" i want to read that value into seconds,

Example the Image-1 shows the 01 hours and 05 minutes so the timer should be 18000 seconds

if any alternate ways are there for this problem please suggest

Community
  • 1
  • 1
Mr world wide
  • 4,696
  • 7
  • 43
  • 97

0 Answers0