We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

cannot use multiple time pickers

i am trying to create 2 time pickers on a page in order to set a start time and an end time.

i can only get the dropdown to show for the second time picker. if there is only 1 time picker on the page, it opens without problems. i am having problems when there are multiple time pickers on the page.

1 Reply

FP Francis Paul Antony Raj Syncfusion Team November 22, 2016 02:50 PM UTC

Hi Christopher, 
 
Thanks for contacting Syncfusion support. 
 
We suspect that you haven’t given a unique selector for each TimePicker. If yes, please define a unique ID (or) class for each input HTML element before initialization of ejTimePicker as mentioned below. 
 
<input id="starttime" type="text" /> 
<input id="endtime" type="text" /> 
 
$("#starttime").ejTimePicker(); 
$("#endtime").ejTimePicker(); 
 
Regards, 
Francis Paul A 


Loader.
Up arrow icon