Re: XMLHttpRequest post hangs on Firefox / Mozilla
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: XMLHttpRequest post hangs on Firefox / Mozilla

From: cicap <asda@tiscali.it>
Date: Wed Nov 30 2005 - 13:44:46 CET

"Jim Lawton" <usenet1@jimlawton.TAKEOUTinfo> ha scritto nel messaggio
news:f17ro15qn3bdj0m74e3j0ff1fak1jj6kit@4ax.com...
>
> Hello, the following bit of (stripped down) code works fine in IE, but on
> Gecko
> based browsers -
> Firefox 1.0.7
> Mozilla 1.7.12
>
> it just hangs on the xmlhttpOpen
>
> // IE object - works fine
> // var xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")
>
> var xmlhttp =new XMLHttpRequest();
> xmlhttp.Open("POST","http://www.anythin.com",false);
>
> xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
>
> xmlhttp.send("data");
>
> I'd be grateful for any ideas.
>

What is the problem?
Received on Sat Dec 3 04:33:25 2005