This is a migrated thread and some comments may be shown as answers.

[Solved] Setting Interval in JavaScript(Client side API)

0 Answers 28 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kushil
Top achievements
Rank 1
Kushil asked on 26 Mar 2011, 03:34 PM
Hi all
I am using Telerik MVC Time Picker. I want to change the initially set interval after a async service call. That service call brings a new value to the client side which should be set as the new time interval. I can see that min and max can be set in JavaScript like that. But I could not find a way to set the interval in JavaScript.

var timePicker = $('#inputStartTimePicker').data('tTimePicker');

timePicker.max(

 

'18:30');  

 

 

timePicker.setInterval(30); 

 

// Throws object does not support property/method error

 

 

timePicker.interval(30); // Throws object does not support property/method error
 

 

I tried to set the interval using the above two methods, but I got the JavaScript error "object does not support property..". 
Hope you all can help me.
Thanks
Kushil 




 

 

Tags
Date/Time Pickers
Asked by
Kushil
Top achievements
Rank 1
Share this question
or