understanding jquery

understanding jquery

hi,
i use w3schools regularly when learning new php/mysql/css or whatever but find the documentation on jquery quite difficult in comparision..

heres what i'm trying to do, i have jquery datepicker on a webpage and i want to format the date
<script type="text/javascript">
    $(function() {
        $("#datepicker").datepicker();
    });
    </script>
<input type="text" id="datepicker">

the docs just say something like this..

$.datepicker.formatDate('yy-mm-dd', new Date(2007, 1 - 1, 26));

how do i add this to my script so that the date is formatted however i want it?

cheers!