I want to just hit the url in javascript which will run in background not on frontend.
I had tried this code
var url = "http://yourpage.com";
req = new ActiveXObject("Microsoft.XMLHTTP");
req.open("GET", true);
req.onreadystatechange = callback;
req.send(null);
but it not work for me.
could any one please suggest me how to hit url in javascript.
req.openline has unmatched double quotes.