Change DatePicker in Views

Add some parameter on datepicker when it has been initialized already, in a View.

jQuery(window).bind("load", function() {
jQuery( ".wpv-date-front-end" ).datepicker( "option", "yearRange", "2002:2012" ).datepicker("option", "defaultDate", "01012012");
});

Let us know if this snippet is not working for you:

This snippet doesn’t work
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments