If you would post a link to a test page, I'm sure someone can tell you what's wrong.
Without that, we have to start playing 20 Questions. :-) First questions: 1) What is the response from the server in both cases? 2) Install Fiddler2 [*] and have it log the session. What does it show? -Mike [*]: http://www.fiddler2.com/ On Fri, Nov 27, 2009 at 5:50 AM, Wayne Tong <wei.tong.n...@gmail.com> wrote: > 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 >