title: jquery datepicker in ajax form not editable
body: <p>I am using datepicker in a jquery dialog box. It works fine while adding values but while editing it is not accepting new values</p>
  
  <p>Here is my code </p>
  
  <pre><code>  var edtdlg = $("#editDialog").html(html);
  
                  $(".dob", edtdlg).datepicker({
                      dateFormat : "dd MM yy",
                      changeMonth : true,
                      changeYear : true
                  });
  </code></pre>