Title: $(&#8230;).datepicker is not a function
Last modified: March 7, 2018

---

# $(…).datepicker is not a function

 *  Resolved [ck1608](https://wordpress.org/support/users/ck1608/)
 * (@ck1608)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/datepicker-is-not-a-function-2/)
 * I have the problem that I do not get the following error resolved:
    $(…).datepicker
   is not a function
 * The error is thrown at the following place from the booking.js:
    $(function(){
   $( “.datepicker” ).datepicker({ dateFormat: “yy-mm-dd” }); });
 * I have compared the loading of resources with the demo page and unfortunately
   can not find the error.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatepicker-is-not-a-function-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * (@wpdevart)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/datepicker-is-not-a-function-2/#post-10049631)
 * Hi dear user.
 * Did you create the available dates from the back-end(admin panel)?
 * It seems you didn’t.
 * Check this video, it can help – [https://www.youtube.com/watch?v=XWjRm0lv4aU](https://www.youtube.com/watch?v=XWjRm0lv4aU)
 * Thanks.
 *  Thread Starter [ck1608](https://wordpress.org/support/users/ck1608/)
 * (@ck1608)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/datepicker-is-not-a-function-2/#post-10049989)
 * Many thanks for your response.
 * That was missing. The error was not corrected by the change, however.
 * Unfortunately, I could not recognize any missing data in the video. Do you have
   an idea?
 *  Plugin Author [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * (@wpdevart)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/datepicker-is-not-a-function-2/#post-10054853)
 * Hi dear user again.
 * Can you tell what version you are using?
 * Also, as we see you added the available days already, did you add price as well?
 * Thanks.
 *  Thread Starter [ck1608](https://wordpress.org/support/users/ck1608/)
 * (@ck1608)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/datepicker-is-not-a-function-2/#post-10056236)
 * Hello,
 * We use the following setup:
 * WordPress 4.9.4
    Booking Calendar WpDevArt 2.2.2 PHP 7.1.15
 * The available days I could create. The price can also be defined.
 * The error in the console does not disappear. Unfortunately, I can not explain
   it and would be glad if there is a solution.
 * Best regards
 *  Plugin Author [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * (@wpdevart)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/datepicker-is-not-a-function-2/#post-10056928)
 * Hi dear user.
 * As it is not a global issue, so we need detailed information.
 * Can you send us the theme name you are using and plugins list?
 * We will check it from our side and then let you know about results.
 * Thanks.
 *  Plugin Author [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * (@wpdevart)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/datepicker-is-not-a-function-2/#post-10158398)
 * Hi dear user.
 * As we see your issue was resolved, so we are going to close this topic, if you
   have other questions then contact us again.
 * Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘$(…).datepicker is not a function’ is closed to new replies.

 * ![](https://ps.w.org/booking-calendar/assets/icon-128x128.png?rev=1307202)
 * [Booking calendar, Appointment Booking System](https://wordpress.org/plugins/booking-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/booking-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking-calendar/reviews/)

## Tags

 * [datepicker](https://wordpress.org/support/topic-tag/datepicker/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * 6 replies
 * 2 participants
 * Last reply from: [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/datepicker-is-not-a-function-2/#post-10158398)
 * Status: resolved