title: jquery dialog .html() question
body: <p>I am using a jquery dialog and want to set the .html value with an external html file located on the same server. What I'm unsure of is exactly how to achieve this.</p>
  
  <pre><code>var $tos_dlg = $('&lt;div&gt;&lt;/div&gt;')
    .html($(this).load('/includes/tos.html'))
    .dialog({
      autoOpen: false,
      title: 'Policies &amp;amp; Terms of Service',
      width: 600,
      height: 400,
      modal: true
  });
  </code></pre>
  
  <p>The above section where the .html() is called is where I want to inject the contents of the external file. I think that the .load function would work somehow, but just not sure if that is the right approach and if so, how exactly to implement it. Can anyone help?</p>
  
  <p>Thanks</p>