title: Zebra datepicker select event
body: <p>I'm using Zebra Datepicker I want to get selected value when the input value changed. But my code doesnt work. Please help me!.</p>
  
  <pre><code>  &lt;input type="text" class="datepicker" id="date1" value="Select First Date"/&gt;
    &lt;input type="text" class="datepicker" id="date2" value="Select Last Date"/&gt;
      $(document).ready(function() {
      $("input.datepicker").Zebra_DatePicker({ dateFormat: "dd-mm-yy" });
   });
      $("#date1").Zebra_DatePicker({
        onSelect: function() {
          $(this).change();
          alert("x");
        }
      });
  </code></pre>