I know this is a very generic error message but it is indeed popping up in my debug console whenever I try to use datetimepicker on a id or class.
I am using Ruby on Rails, therefore, I am using the jquery-rails and jquery-ui-rails gems in order to use jQuery - all the required files are loading (datepicker(); works).
This works - I get the calendar:
$(function() {
$('.calendar').datepicker();
});
This does not work - calendar not popping
Whenever I put this code, I get the error message being the subject of this posted issue.
$(function() {
$('.calendar').datetimepicker();
});
And it seems that jquery and jquery-ui are loaded before datetimepicker...
Hi
I know this is a very generic error message but it is indeed popping up in my debug console whenever I try to use datetimepicker on a id or class.
I am using Ruby on Rails, therefore, I am using the jquery-rails and jquery-ui-rails gems in order to use jQuery - all the required files are loading (datepicker(); works).
This works - I get the calendar: $(function() { $('.calendar').datepicker(); });
This does not work - calendar not popping Whenever I put this code, I get the error message being the subject of this posted issue. $(function() { $('.calendar').datetimepicker(); });
And it seems that jquery and jquery-ui are loaded before datetimepicker...