jquery defaultDate
<p>i read the previous posts regarding all the defaultDate, and for some reason something doesnt work.</p>

<pre><code>   $(function(){     
        $('#datepicker').datepicker({  
            inline: true,  
            showOtherMonths: true,  
            dayNamesMin: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],  
            dateFormat: 'dd/mm/yy',
            defaultDate: new Date(2000,01,01) 
        });
    });  
</code></pre>

<p>doesnt put any thing in the input even if it would've done something it was a default rather then NOW.</p>

<p>when im trying:</p>

<pre><code>$(function(){ 
var currentDate = new Date();  

    $('#datepicker').datepicker({  
        inline: true,  
        showOtherMonths: true,  
        dayNamesMin: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],  
        dateFormat: 'dd/mm/yy',

    });
    $("#datepicker").datepicker("setDate",currentDate); 
});  
</code></pre>

<p>the page loads up with the datepicker already open (as if i clicked on it) and not even in the right place.</p>

<p>Update and solution:
thank you all, after reading all the implementations of all the versions of the ui, i found a workaround in css:
<code>
.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }</code></p>
