Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery datepicker set default date

//don't look any more this is how you make it
//select you datepicker then you can use setDate function and also add a dateFormat 
$( ".selector" ).datepicker({ dateFormat: "yy-mm-dd" }).datepicker( "setDate", new Date());
 
PREVIOUS NEXT
Tagged: #jquery #datepicker #set #default #date
ADD COMMENT
Topic
Name
4+1 =