[Javascript] pb with httprequest and firefox

Bernu Bernard bernu at lptmc.jussieu.fr
Tue Nov 28 10:55:39 CST 2006


Hi list,

I'm using XMLHttpRequest to get data from the server.
It works but on Firefox only I got errors.
The data I get are kind of JSON : { "q" : "something" } that is sent  
as text.

I got the data in req.responseText but with an error :

Error: not well-formed
Source File: http://169.254.5.185/cgi-bin/mycgi
Line: 1, Column: 1
Source Code:
{"q":""}^

I could not figure out what to do.

Any suggestions ?

Bernard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20061128/49863605/attachment.htm>


More information about the Javascript mailing list