title: Uncaught Error: cannot call methods on resizable prior to initialization; attempted to call method 'option'
body: <p>I have an ajax request which basically gets some HTML and puts it inside a <code>&lt;DIV&gt;</code> tag.</p>
  
  <p>However, if I then call something after this happens (like clicking a button) and try using div.append to that same DIV, I get the following error:</p>
  
  <blockquote>
    <p>Uncaught Error: cannot call methods on resizable prior to
    initialization; attempted to call method 'option'</p>
  </blockquote>
  
  <p>This is basically some snippets of my code:</p>
  
  <pre><code>if (formreq) {
    $.ajax({                                      
        url: './json/admin/getHTML.php',                       
        type: 'POST',
        async: false,
        data: { FORMSEQ : formreq } ,                      
        dataType: 'json',                   
        success: function(result)          
        {
        var HTML = result["HTML"];
          $('#blankform').append(HTML);
        } 
  
      });
  </code></pre>
  
  <p>Then if I use something like:</p>
  
  <pre><code>$("#div_" + selectedItem).resizable('option', 'disabled',true);
  </code></pre>
  
  <p>Which the selector is a valid element on the HTML that was called via Ajax, I get the above error.</p>
  
  <p>Any idea's? - Thanks</p>