title: jQuery ajax load html from another server
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1237707/load-website-into-div">Load website into DIV</a>  </p>
  </blockquote>
  
  
  
  <p>Hey all i am trying to find a way to call an external website and retreve its HTML so that i can check for something in it (wither the user entered a valid VIN # or not depending on what this website calls back)</p>
  
  <p>This is the code i have:</p>
  
  <pre><code>$.ajaxSetup ({
  
    cache: false
   });
  
   $("#load_callback").click(function(){
      $.ajax({
      url: 'http://www.google.com',
      dataType: 'text',
      success: function(data) {
     alert(data);
      }
    });
   });
  </code></pre>
  
  <p>It works but only if i have it pointed to my server (and running on my server also). Is there a way i can call an external website using jquery/ajax? I am aware of the <strong>Same origin policy</strong> but was hoping something like what i want to do did not fall into that catagory?</p>
  
  <p><strong>I cant even get an iFrames title? Really??? wow....</strong></p>
  
  <p>David</p>