jQuery UI Datepicker does not work with jQuery provided by WordPress
I try to use the jQuery UI Datepicker in the WP-backend. Therefor I downloaded the js-file of datepicker and enqueued it.
wp_enqueue_script( 'jquery-ui-datepicker', get_bloginfo( 'template_directory' ) . '/admin/jquery.ui.datepicker.js', array ( 'jquery', 'jquery-ui-core', 'jquery-ui-widget' ), '1.8.13' );
But with the jQuery-versions provided by WordPress it does not work. That is true for alle versions above 3.1.3 (my development version is 3.2 Beta already). When I replace the jQuery-version of WP with the one provided in the datepicker-demo it works.
I took all files from the datepicker-demo: http://jqueryui.com/demos/datepicker/default.html
That is strange to me, since I really do not know the jQuery-framework. Who can help?
- The topic ‘jQuery UI Datepicker does not work with jQuery provided by WordPress’ is closed to new replies.