Hi Guys, Need some help on $.get or $.ajax, I have the following code that will send request to server then get either JSON or XML data back, but it seems only working in IE8, not working in Firefox 3.5,
In IE8, it returns: data: [object Object] textStatus: success something: undefined in Firefox 3.5 it returns: XMLHttpRequest: [object XMLHttpRequest] textStatus: parsererror errorThrown: undefined Wonder why am I getting parsererror here? $.ajax({ type: "GET", url: " http://192.168.213.85:8080/solr/select?q=north&wt=json&indent=on&qt=standard ", dataType: "json", success: function (data, textStatus, something) { alert("data: "+data+"\n"+"textStatus: "+textStatus+"\n"+"something: "+something); }, error: function (XMLHttpRequest, textStatus, errorThrown) { alert("XMLHttpRequest: "+XMLHttpRequest+"\n"+"textStatus: "+textStatus+"\n"+"errorThrown: "+errorThrown); } }); Regards, W