NS_ERROR_FAILURE in XMLHTTPRequest

Posted by Ajay.Kalol under JavaScript on 10/9/2012 | Points: 10 | Views : 2320 | Status : [Member] | Replies : 0
var strURL = 'http://maps.google.com/maps/geo?q=Ahmedabad&output=csv';

var request = new XMLHttpRequest();
request.open("GET", strURL, false);
request.send();
if (request.responseText != "") {
var LL = request.responseText.split(',')[2];
}
else {
return false;
}


I have this code and it run fine in IE but Not in Mozilla and give me error Like "NS_ERROR_FAILURE" .
So what happening in this Code??

Ajay
ajaypatelfromsanthal.blogspot.in



Responses

(No response found.)

Login to post response