title: Using .ajax() to load remote URL - not working
body: <p>I'm trying to load a remote URL (or rather just test to see if a remote page exists).</p>
  
  <p>This works just fine:</p>
  
  <pre><code>$(function() {     
      $.ajax({
          url:'localtest.html',
          type: 'html',
          success: function(content,code) {
              alert(code);
              $('body').html(content);
          }
      });        
  });
  </code></pre>
  
  <p>But swap in a remote URL and I get nothing:</p>
  
  <pre><code>$(function() {     
      $.ajax({
          url:'http://www.google.com/',
          type: 'html',
          success: function(content,code) {
              alert(code);
              $('body').html(content);
          }
      });        
  });
  </code></pre>
  
  <p>Is there any way to do that?</p>