title: jQuery Dialog and Datepicker plugins don't work together
body: <p>i have tow pages one is <code>mange.aspx</code> and other is <code>pop-up.aspx</code> 
   in mange.aspx i load the other page with ajax and display it in <code>jquery ui Dialog</code> </p>
  
  <p><em>my problem</em> is when i load page the <code>jquery ui Datepicker</code> inside that page not working </p>
  
  <p>this is my code</p>
  
  <pre><code>$(function () {
       $("#datepicker").datepicker({
           showOn: "button",
           buttonImage: "../images/calendar-icon.png",
           buttonImageOnly: true
       });
  
       $('#Add').click(function () {
           var $dialog = $('&lt;div id="MyDialog"&gt;&lt;/div').appendTo('body')
        .load("../Pop-up.aspx #pop-up")
        .dialog({
           position: 'center',
           width: 550 
             // code .....
        });
     });
  });
  </code></pre>