Open mooseindia opened 8 years ago
You can use beforeShow callback function with oInputElement as an argument and get id with $(oInputElement).attr("id").
Refer demo/Callback-beforeShow.htm
Hi I am using "formatDateTimeString" call back function as follows to find out id of input field clicked as i am using multiple date pickers with different id's.
formatDateTimeString: function(oDate, sMode,$oElem)
{
console.log($oElem);
}
Please let me know if I can get the id through above call back function.
Hi,
Now you will be able get "id" of the element.
formatDateTimeString: function(oDate, sMode, oElem)
{
console.log($(oElem)attr("id"));
}
Hi
I have set the dateTimeFormat property to 'dd-MM-yyyy hh:mm AA' but the datetime picker is allowing the past time also.
Can you please suggest me to time should not allow the past time from current time?
Hi,
Am trying to put multiple Pickers on my page on click of button. I wanted to know if there is any way i can find out id of input field clicked.