I cannot seem to get the date format 'yyyy/mm/dd' to work in Datepicker - I have tried all the "solutions" out there, and the only thing that has worked for me so far is this. But as you can see, it is a drop-down menu, and I do nor want to choose the format every time - I just want it to be that way.
Now, the linked script does it like this:
<script>
    $(function() {
        $( "#datepicker" ).datepicker();
        $( "#format" ).change(function() {
            $( "#datepicker" ).datepicker( "option", "dateFormat", $( this ).val() );
        });
    });
</script>
Dropdown:
<option value="yy-mm-dd">ISO 8601 - yy-mm-dd</option>
I am not very good with jQuery, so I have absolutly no clue how to "convert".
 
     
    