Hi
Uncaught TypeError: $(...).datetimepicker is not a function
at HTMLDocument.
Thanks
Hi
Uncaught TypeError: $(...).datetimepicker is not a function
at HTMLDocument.
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vishal YelvePosted Aug 28, 2022, 12:13 PM
You might have
1. Forgetting to include the jQuery UI library.
2. Loading the jQuery UI library before the jQuery library.
3. Loading the jQuery library twice.
4. Specifying an incorrect path to the jQuery files.
5. Using a custom jQuery UI library that does not have a datepicker.
Note: To solve the "$(...).datepicker is not a function" jQuery error, make sure to load the jQuery library before loading the jQuery UI library. The libraries have to be loaded only once on the page, otherwise the error is thrown.
Please refer below url.
https://bobbyhadz.com/blog/jquery-datepicker-is-not-a-function#:~:text=To%20solve%20the%20%22%24(.,otherwise%20the%20error%20is%20thrown.&text=Copied!
Sachin SinghPosted Aug 29, 2022, 4:36 AM
Ramco RamcoPosted Aug 28, 2022, 5:38 AM
Uday DodiyaPosted Aug 28, 2022, 4:52 AM
datetimepickerwhen it should bedatepicker. As per the docs. Try this and it should work.