:: Forum >>

Active.HTTP-Request = XML-Http?

I'm assuming that this section implements the popular XML-Http requests, such as is used on GMail and Google Suggest. Does anyone have an example using this?
Brian Kreulen
Wednesday, May 4, 2005
Here is some simple code that uses POST instead of GET. We return XML documents to our function.

var at = new Active.HTTP.Request;

var formhandler = this;
at.setParameter("widgetid", widgetid.trim());
var _rsp = at.response;
at.response = function(xml)
_rsp.call(this, xml);
// at this point, XML is a standard XML document and you would parse it for your needs
Wednesday, May 4, 2005

This topic is archived.

Back to support forum

Forum search