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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

cannot use multiple time pickers

Thread ID:

Created:

Updated:

Platform:

Replies:

127535 Nov 21,2016 10:38 PM UTC Nov 22,2016 02:50 PM UTC JavaScript 1
loading
Tags: ejTimePicker
Christopher Hui
Asked On November 21, 2016 10:38 PM UTC

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.

Francis Paul Antony Raj [Syncfusion]
Replied On 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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;