hi, what is the wrong with that code $.get($link, function(data) { alert(data.toSource()); }); HTML: if link inside site i get content but if link other like google.com i do not get any thing why?
As far as I am concerned, it won't work, because JavaScrip cannot access web pages hosted on another domain.
it will work but not always in some websites, maybe because this sites has already blocked your script from doing so.