Hi I need to implement a slider for 24 hour time range . I like to use jquery ui slider for this . I have written below code
It should just be hours2 < 10 and minutes2 < 10, not hours2.length < 10 and minutes2.length < 10. This is evaluation of numeric value not string length.