Re: Using XMLHTTPRequest within Firefox (Newbie)
"Anthony Jones" <[email protected]> Wed, 10 Oct 2007 10:16:22 +0100
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Message-ID | <[email protected]> |
"Dave F." <[email protected]> wrote in message news:[email protected]... > Hi > > I use MSXML.XMLHTTPRequest in an Excel VBA routine to download info from > a web page using responseText. > > I'd like to swap over from IE & use Firefox instead. Is this possible? > I looked for a Mozilla object library but couldn't see one. Would I have > to load it manually? > > I've done some basic Google searching but unearthed nothing to get me > started. > > Please point me in the right direction. > Where your code currently says:- var xmlhttp = new ActiveXObject("MSXML.XMLHTTP") replace it with var xmlhttp = new XMLHttpRequest() Thats it. -- Anthony Jones - MVP ASP/ASP.NET