Jquery UI Datepicker

Jquery UI Datepicker


Im trying to get the datepicker to show in DD-MM-YYYY format, but I
cant seem to be able to do it.
Could anyone give me a helping hand? The code below is the code im
using without success ....
$(function() {
        $('#datepicker').datepicker({
            changeMonth: true,
            changeYear: true
        });
        $.datepicker.formatDate('dd-mm-yyyy', new Date(2007, 1 - 1, 26));
    });
Thanks in advance