This is an example of the DHTMLSuite.ajaxUtil class.

This demo sends a post request to the server with this code:

<script type="text/javascript">
function myFunction(ajaxObj){
	document.getElementById('content').innerHTML = ajaxObj.response;
}
DHTMLSuite.ajax.sendRequest('includes/include-ajax-util.php','var1=Alf&var2=Magne','myFunction');
</script>