I am trying to implement a Trent timepicker, but I cannot do it. I am testing it in Chrome, Firefox and IE9.
I have already imported jQuery and jQuery UI. The only common mistake I could find was that JQuery UI was not a full version (no slides), but that is not my business. In any case, the following errors
Cannot set property 'formatTime' of undefined (line ...)
$.datepicker.formatTime = function(format, time, options) { (this is the line)
Cannot call method '_newInst' of undefined
$t.datepicker($.timepicker._newInst($t, o)._defaults);
I would like to thank any help, I am really new to jQuery and I really don't understand.
source
share