title: Jquery-ui datepicker php+mysql issue
body: <p>When i set my input field without datepicker like that:</p>
  
  <pre><code>&lt;input type="text" name="date" value="&lt;?php echo $date; ?&gt;" class="textbox" /&gt;
  </code></pre>
  
  <p>I can see my value which i get from database. The format is: 1965-02-05</p>
  
  <p>When I set this code:</p>
  
  <pre><code>    &lt;script&gt;
      $(function() {
          $( "#datepicker" ).datepicker({
              changeMonth: true,
              changeYear: true
          }
              );
                  $( "#datepicker" ).datepicker( "option", "dateFormat", "yy-mm-dd" );
                  $( "#datepicker" ).datepicker( "option", "yearRange", '1900:2011' );
      });
      &lt;/script&gt;
  &lt;input type="text" id="datepicker" name="date" value="&lt;?php echo $date; ?&gt;" class="textbox" /&gt;
  </code></pre>
  
  <p>nothing shown in text input area, but i can see datepicker without any problem when i click inside of the text input area.</p>
  
  <p>What is the problem?
  I'am formatting like that:</p>
  
  <p><a href="http://docs.jquery.com/UI/Datepicker/formatDate" rel="nofollow">http://docs.jquery.com/UI/Datepicker/formatDate</a></p>