title: Jquery Dialog - Object doesn't support this property or Method
body: <p>My this code was working fine until I upgraded to Jquery newer version. Now I get above error.</p>
  
  <pre><code> &lt;link rel="stylesheet" type="text/css" href="site.css" /&gt;
      &lt;link type="text/css" href="css/smoothness/jquery-ui-1.8.10.custom.css" rel="stylesheet" /&gt;
      &lt;link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" /&gt;   
       &lt;script type="text/javascript" src="js/jquery-1.4.4.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="js/jquery-ui-1.8.10.custom.min.js"&gt;&lt;/script&gt;    
      &lt;script type="text/javascript" src="js/ddsmoothmenu.js"&gt;&lt;/script&gt;
  
      &lt;script type="text/javascript"&gt;    
           $(document).ready(function(){     
                  $('#dialog').dialog({
                      modal: true,
                      autoOpen: false,
                      width: 760,
                      height: 'auto',             
                      close: function(event, data) {
                          $('#mainFrame')[0].src = "LoadingPage.aspx";
                      }
                  });
                  $('a[name="dia"]').click(function(){
                      $('#mainFrame')[0].src = this.file;
                      $('#dialog').data('title.dialog', this.innerText); 
  //                    $('#dialog').data('width.dialog', this.diaWidth); 
  //                    $('#dialog').data('height.dialog', this.diaHeight); 
                      $('#dialog').dialog('open');
                      return false;
                  });             
  
                  if (document.getElementById('hidIsAdmin').value == "1"){
                      document.getElementById('liAdmin').style.display = 'block';
                      document.getElementById('liReports').style.display = 'block';
                  }else {
                      $('#liAdmin').remove();
                      $('#liReports').remove();
  
                  }
                  if (document.getElementById('hidCreate').value == "1"){
                      document.getElementById('liCreate').style.display = 'block';
                  }else {
                      $('#liCreate').remove();
                      $('.edit_icon_link').hide(0);                   
                  }
              });
              function hideEditIcon(){
                  $('.edit_icon_link').hide(0);                   
              }            
      &lt;/script&gt;
  </code></pre>