Please look this link : (Jquery Time Picker Add-on)
timepicker example
(Time picker addon)
On line 359, I need to understand the following code:
'<dd class="ui_tpicker_time" id="ui_tpicker_time_' + dp_id + '"' + ((o.showTime)
? '' : noDisplay) + '></dd>' +
I did a search for “ui_tpicker_time” but couldn’t find where the class is located inside that above add on JS files.
Can anyone help on this?
It adds the bolded code
var noDisplay = ‘ style=”display:none;”‘,
to the dd tag if the boolean o.showtime is set to false like this
$('#example5').datetimepicker({showTime: false }which I guess you would only do if your visitor wanted to turn it off