title: how to set null the text when datepicker not clicked
body: <p>this is my code for datepicker</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;     
          $(document).ready(function() {
          var myDate = null;
  
          $("#tanggal").datepicker({
  
              altField: "#alternate",
              dateFormat:"yy:mm:dd",
              changeMonth:true,
              changeYear:true, 
              yearRange: '1970:2011',
              });
          });
  
      &lt;/script&gt;
  </code></pre>
  
  <p>this is my code in html</p>
  
  <pre><code>&lt;div&gt;&lt;label&gt;Start:&lt;/label&gt;&lt;input id="alternate" type="text" name="dateStart" class="input_text" /&gt;&lt;/div&gt;
      &lt;div id="date"&gt;&lt;div id="tanggal" &gt;&lt;/div&gt;&lt;/div&gt;
  </code></pre>
  
  <p>how to set the text is null when im not clicking the datepicker..thx</p>