3.2.0

httppost without Microsoft.XMLHTTP

there is some way to do post data
without Microsoft.XMLHTTP to browser
Netscape, Mozilla in RedHat Linux

Regards,

Joseph
Joseph
February 5,
// create HTTP request object
var obj = new Active.HTTP.Request;

// URL
obj.setURL("http://localhost/");

// set request method to POST (default is GET)
obj.setRequestMethod("POST");

// set expected response type (default is text/xml)
obj.setResponseType("text/html");

// set request parameters (i.e. form values)
obj.setParameter("id", "1234");

// set event handler to process the result
obj.response = function(text){alert(text)};

// send the request (async)
obj.request();
Alex (ActiveWidgets)
February 7,
hi Alex,
i need to access data from the xml file. by using the clinet scripting i need to display the data in the html file. i am not supposed to use the servide script.
if u can ples help me..

navani R
March 3,
What js files I realy need to use this script?

<script src="source/lib/system/object.js"></script>
<script src="source/lib/system/model.js"></script>
<script src="source/lib/http/request.js"></script>

Is it?

Can you help-me?
Thank you!
Pedro
March 28,

This topic is archived.

See also:


Back to support forum