My bad... Thought it had the function in there... Got some spare time now so:
code:
function getInfo(){
http_request = new ActiveXObject("Microsoft.XMLHTTP");
http_request.open('GET', "www.website.com", false);
http_request.onreadystatechange = event;
http_request.send();
}
function event(){
if (http_request.readyState == 4) {
if (http_request.status == 200) {
var response = http_request.responseText
Debug.Trace(response);
//Your code goes here
}
}
}
Sorry for the mix-up