Add Date Picker to WordPress

wp_enqueue_script(‘jquery-ui-datepicker’);

 

var $jx = jQuery.noConflict();

$jx(function(){
$jx(‘#_deal_deadline’).datepicker();
});

Leave a Reply

839