title: Display result of POST or GET to external site within jQuery dialog
body: <p>I'm trying to POST to an external website, and display the results in a jQuery UI Dialog on my site. Is that possible? I've tried a bunch of permutations, for example (with GET):</p>
  <pre><code>$(&quot;#view&quot;).click(function() {
  var url = this.href;
  var dialog_pop = $('&lt;div&gt;&lt;/div&gt;');
  dialog_pop.load(url).dialog();
  return false; });
  </code></pre>
  <p>This seems to work if the target URL is within my domain, but doesn't work if it's an external site. Also, I haven't gotten POST to work yet either.</p>
  <p>What can I try to solve this?</p>