I’m trying to use https://github.com/mgussekloo/my-bootstrap-datetimepicker with twitter bootstrap but it doesn’t work. I don’t know how it could not be working because I just followed the example, no customization.
P.S.
There is the following error:
Uncaught TypeError: Object [object Object] has no method ‘datepicker’.
I’m not sure if I do it right, so here’s the code for the input:
<input type="text" class="data-datepicker-format" data-datepicker-format="dd/mm/yyyy" />
Any ideas how to fix it? Thanks in advance.
Per our discussion in the comments to another answer, the issue seems to be that you’re loading both Bootstrap DatePicker and jqueryUI DatePicker libraries.
If you really do need to use jqueryUI, you’ll need to build a jqueryUI package without the DatePicker. You can do that on the jqueryUI download site.
EDIT: To be clear, you can leave jquery in place. Only jquery-UI needs to be either removed, or you need a custom jqueryUI package that excludes the DatePicker.