title: Where default value populated in this script?
body: <p>Trying to find out where default value for field with id <strong>startDate</strong> is populated.
  Its "24/04/2008" in rendered window on bottom right, however cannot see where it was set in code.</p>
  
  <pre><code>// this methid is called each time the selected period of the chart is changed
  function handleZoom(event) {
      var startDate = event.startDate;
      var endDate = event.endDate;
      document.getElementById("startDate").value = AmCharts.formatDate(startDate, "DD/MM/YYYY");
      document.getElementById("endDate").value = AmCharts.formatDate(endDate, "DD/MM/YYYY");
  // as we also want to change graph type depending on the selected period, we call this method
  changeGraphType(event);
  }
  // this method is called when user changes dates in the input field
  function changeZoomDates() {
      var startDateString = document.getElementById("startDate").value;
      var endDateString = document.getElementById("endDate").value;
      var startDate = stringToDate(startDateString);
      var endDate = stringToDate(endDateString);
      chart.zoomToDates(startDate, endDate);
  }
  
  &lt;input onChange="changeZoomDates()" style="width:100px; text-align:center" type="text" id="startDate"&gt;
  </code></pre>
  
  <p>JSFiddle <a href="http://jsfiddle.net/nos0q1dL/" rel="nofollow">http://jsfiddle.net/nos0q1dL/</a></p>