title: multiple datepicker in same page not working javascript
body: <p>I used add row delete row functionality in my form. I have a date field with <code>date picker</code> functionality. The problem is if i add more than one row and then click date picker it is not working properly. Please see this <a href="http://jsfiddle.net/KN7Hd/" rel="noreferrer">http://jsfiddle.net/KN7Hd/</a> for demo. </p>
  
  <pre><code> $(function() {
      $( "#datepicker" ).datepicker({
        showOn: "button",
        buttonImage: "images/calendar.png",
        buttonImageOnly: true,
        showOtherMonths: true,
        selectOtherMonths: true
      });
    });
  </code></pre>
  
  <p>How to fix this?</p>