In JS is it possible to fetch the content of a web page assigning it to a variable? For example, why the following toy code does not work?
var req = new XMLHttp
For security reasons, you cannot use AJAX to send a request to a different domain.