Note: Ajax requests are not cross-domain unless enabled by the browser so this should be used only against same server requests. If you need Cross Domain Ajax Calls look into the jsonp function although this function requires server participation.
ajaxRequest(url,post,callback,errorCallback)
post
optional POST data or null. You can also pass FormData to pass all the page form content excluding ASP.NET's viewstate.
callback
Optional function that is called on a successful callback. Function receives raw HTTP result string as a parameter.
errorCallback
Optional function that is called when an error occurs. Receives a CallbackException object as a parameter that holds exception information.