jquery datepicker

jquery datepicker

Hi everyone,

How do I edit the following line to automatically format the date to yy-mm-dd ?:


  1. $( "#format" ).change(function() {
    $( "#datepicker" ).datepicker( "option", "dateFormat", $( this ).val() );