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

XMLHttpRequest post hangs on Firefox / Mozilla

From: Jim Lawton <usenet1@jimlawton.TAKEOUTinfo>
Date: Wed Nov 30 2005 - 13:45:16 CET

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.

Cheers

--
Jim
a Yorkshire polymoth
Received on Sat Dec 3 04:33:26 2005