JavaScript Error with Mozilla

Posted by Ajay.Kalol under JavaScript on 8/6/2012 | Points: 10 | Views : 972 | Status : [Member] | Replies : 0
Hello,

var strURL = 'http://www.google.com/calculator?q=1USD=?EUR'

var request = new XMLHttpRequest();
request.open("GET", strURL, false);
request.send(null);
if (request.responseText != "") {
document.getElementById('dv').innerHTML = request.responseText
}


I have JS Code that working fine in IE but display error in Mozilla as mentioned below


Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:49637/currencyconverter.aspx :: convert :: line 26" data: no]

What type of error is this ?
Please provide me any Solution..

Ajay
ajaypatelfromsanthal.blogspot.in



Responses

(No response found.)

Login to post response