Get the source code of a URL using JavaScript
<p>I am trying to get the source code of a page (let's say google.com) using Javascript. The code I tried is below but the issue remains the same which is that I am accessing a different domain. What I am trying to do is to check the source code of a page, check for a specific value in that source code and behave based on that information. Thanks!</p>

<blockquote>
  <p>$.get(url, function(data){ something(data); }//end function(data)
  );//end get</p>
</blockquote>
