Title: datepicker is not a function
Last modified: August 30, 2016

---

# datepicker is not a function

 *  Resolved [mdw](https://wordpress.org/support/users/yamaryam/)
 * (@yamaryam)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/datepicker-is-not-a-function-1/)
 * Hi I get this error in the browser’s console:
 * Uncaught TypeError: jQuery(…).datepicker is not a function
 * /wp-content/plugins/users-ultra/js/uultra-front.js?ver=4.4
 * for the code:
 *     ```
       // Adding jQuery Datepicker
       jQuery(function() {
       	jQuery( ".xoouserultra-datepicker" ).datepicker({changeMonth:true,changeYear:true,yearRange:"1940:2014"});
   
       	jQuery("#ui-datepicker-div").wrap('<div class="ui-datepicker-wrapper" />');
       });
       ```
   
 * [https://wordpress.org/plugins/users-ultra/](https://wordpress.org/plugins/users-ultra/)

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

 *  Plugin Contributor [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * (@usersultra)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/datepicker-is-not-a-function-1/#post-6873120)
 * Hi,
 * It happens when either one of your plugins or your theme is triggering a JS error
   before UU is loaded.
 * In order to find out what’s causing that issue you can check this link out [http://doc.usersultra.com/how-to-troubleshoot-plugin-and-theme-conflicts/](http://doc.usersultra.com/how-to-troubleshoot-plugin-and-theme-conflicts/)
 * Just to be clear datepicker comes with WordPress, if this jQuery component is
   not loaded then UU will fails.
 * Here there is a live demo running the latest version UU Lite [https://usersultra.com/userultra/registration/](https://usersultra.com/userultra/registration/)
 * Let me know the result of your tests.
 * Cheers
 *  Plugin Contributor [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * (@usersultra)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/datepicker-is-not-a-function-1/#post-6873462)
 * Please post again if you have any further questions.
    Cheers
 *  [zain.mr89](https://wordpress.org/support/users/zainmr89/)
 * (@zainmr89)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/datepicker-is-not-a-function-1/#post-6873486)
 * Hi,
 * How did you solved this issue Marie ??
 *  Plugin Contributor [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * (@usersultra)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/datepicker-is-not-a-function-1/#post-6873487)
 * [@zain](https://wordpress.org/support/users/zain/).mr89,
 * Please check this link [http://doc.usersultra.com/how-to-troubleshoot-plugin-and-theme-conflicts/](http://doc.usersultra.com/how-to-troubleshoot-plugin-and-theme-conflicts/).
 * Let me know if that helps to find out what plugin is triggering the JS error 
   before UU is loaded.
 * Cheers

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

The topic ‘datepicker is not a function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/users-ultra_a880cc.svg)
 * [Users Ultra Membership, Users Community and Member Profiles With PayPal Integration Plugin](https://wordpress.org/plugins/users-ultra/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/users-ultra/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/users-ultra/)
 * [Active Topics](https://wordpress.org/support/plugin/users-ultra/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/users-ultra/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/users-ultra/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/datepicker-is-not-a-function-1/#post-6873487)
 * Status: resolved