What version of jQuery-UI are you using? I’ve tested the following with 1.6r6, 1.7 and 1.7.1 and it works:
//Set DatePicker to October 3, 2008 $('#dateselector').datepicker("setDate", new Date(2008,9,03) );
Related Posts:
- Icons missing in jQuery UI
- Inbuilt style for jquery-ui-datepicker
- How Do I Use jQuery UI In My Plugin
- jQuery UI Datepicker not working
- jQuery does not work in widget backend
- Convert WordPress date format to jQuery UI Datepicker format
- datepicker for custom post type admin
- jQuery UI Datepicker error
- WP 3.3.1 Cant get jQuery Datepicker to work
- jQuery datepicker not showing on admin menu
- jQuery dialog popup
- check / uncheck checkbox using jquery?
- ChangeDate – Date Picker Bootstrap
- keycode 13 is for which key
- How to change the text of a button in jQuery?
- datetimepicker is not a function jquery
- jQueryUI dialog width
- How to use radio on change event?
- Form Submit jQuery does not work
- How to use date picker in Angular 2?
- Find out whether radio button is checked with JQuery?
- Slide right to left?
- jQuery UI ” $(“#datepicker”).datepicker is not a function”
- Displaying DateTime picker instead of Date picker in ASP .NET MVC 5.1/HTML 5 specific
- Check if user is logged in using JQuery
- How to save the state of a drag and drop jQuery UI Sortables front end layout editor?
- Correct way to enqueue jquery-ui
- Prevent sorting and dragging of specific postbox metabox
- Add a Jquery Datepicker to custom field in post edit
- Why is wp_enqueue_script not loading included jquery ui scripts?
- WordPress Menu Custom Walker Class
- Include jQuery UI as a whole
- Why is jquery-ui-core enqueueing in my footer instead of the header?
- How do I implement a jQuery UI dialog modal in a WP plugin?
- Locale filter in conjunction with new datepicker localization
- Custom function to rearrange attachments when creating posts – Almost there
- JqueryUi Dialog giving Uncaught TypeError: this._addClass is not a function error
- Add `datetimepicker` to form
- Convert jQuery Datepicker Format to SQL Date Format
- How do I use jQuery UI tabs in a WordPress page?
- No Styling for the datepicker in WordPress admin
- How to include jquery-ui library in WordPress?
- Enqueue Javascript Correctly for 3.5
- Enqueue jQuery UI Tabs In Admin Area
- Query between dates using Date Picker fields
- Order and group posts by acf by month and year
- possible to make sections in theme customizer sortable and saveable at publish button clicked?
- jQuery Autocomplete not working with wp_localize_script
- using wp_enqueue_script to attach jquery-ui
- Problems with creating sortable sections in customizer
- jQuery UI Autocomplete showing all results
- WordPress loads whole jQuery UI library
- Enqueuing jQuery in plug-ins
- Add jQuery UI datepicker to admin panel
- Set default date in datepicker of an advanced custom field
- How do I get my page to load the jQuery UI Effects library?
- calling jquery function on plugin page
- WordPress Iris Colour Picker adding iOS touch events
- Timepicker-addon doesn’t show – Datepicker works fine?
- Ajax with jQuery UI dialog not working
- Save list from a custom meta box?
- Admin area ‘toggle’ w/ cookie
- Min And Max Date With Date Format In Elementor Form Not Working
- WordPress doesn’t Load JQuery Now? Do I need to enqueue JQuery also?
- Which jQueryUI handles are predefined in wordpress?
- Override default jquery ui library with newer version
- How to enable the content editor as a droppable target with jQuery-ui?
- Automatic jQuery accordion from header tags
- How to override wp-admin styling
- Query between dates using date picker filter breaks in WordPress 4.2.1
- Utilizing WordPress’ Admin UI for plugin settings: getting accordion style
- Advanced custom fields sort repeater by date
- jquery-ui-autocomplete is not loaded with wp_enqueue_script
- jQuery UI inside widget on admin page
- ACF Custom validation message not showing up
- Jquery not showing in homepage
- Woocommerce checkout update totals with datepicker
- Loading jQuery UI in the head
- Format numeric symbols in titles
- jQuery.accordion isn’t a function even when enqueued
- Override theme style with other CSS on a specific page
- Adding a slider captcha to the comment system
- How to apply wordpress css styles to a jQueryUi dialog?
- Control attachments menu order with jQuery Sortable
- jQuery UI AutoComplete & wp_enqueue_script
- splitting the URL using jQuery
- Need to change url paramenter of share product pintrest [closed]
- Will the latest Bootstrap work properly with the default WordPress jQuery?
- CMB2 toolkit: Compare 2 Dates and validate the Time
- How to use datepicker.min.js?
- In WooCommerce product archive, how can you also set the quantity to be added to cart by typing, instead of just by using +/-?
- Update WordPress 4.7.5 to 4.8 caused datepicker shows wrongly [closed]
- Rhyzz Repeatable-fields javascript in php and wordpress
- WordPress + BlockUI or a splash page [closed]
- Return an array from get_terms and store as JavaScript array for search autocomplete
- datepicker works on widgets options page, but not on customizer
- How to prevent plugins from loading jQuery
- date/time-picker and file upload (image) fields for custom fields (e.g. with more fields)
- Dukapress jQuery(“form.product_update”).livequery is not a function [closed]
- jQuery UI styles conflicting with TinyMCE dialog