Reference - Network / AJAX Class (SS.net)

SS.net is a static wrapper object/class that encapsulates asynchronous / synchronous requests using the XML HTTP Request Object. SS.net provides the global function $load() which can be used anywhere in a JavaScript include to asynchronously request a resource.

Under documentation.

Global Functions:

Functions:

Members:

Global Functions
$load()
Request Document Loads a document such as HTML or XML from the specified URL. The default request method is GET. If a value is specified in the param parameter e.g. {field1 : "hello"}, the method is automatically change to POST. The request at on the server side would appear as if a form has been submitted with field names equal to the key names of the object e.g. Request.Form("field1") would equal hello.
{String} url
Web address of the item to request
{Object} param
Object containing key - value pairs e.g. {key1 : "value1", key2 : "value2"}. (default = null)
{Function} onload
Function to call if the request was successful (default = null)
{Function} onerror
Function to call if there was an error with the request (default = null)
{Function} ontimeout
Function to call if the request times out (default = null)
{Integer} timeout
Number of seconds to wait before the request times out (default = 15)
{Boolean} nocache
Prevents the results of the request from being cached by the browser by automatically adding a random number to the end of the URL. (default = true)
{Object} params
The parameters as defined above can be passed in a single object for ease of use. This makes it simpler if you want to pass any number of valid parameters in any order.
{
   url : {String}
   param : {Object}
   onload : {Function}
   onerror : {Function}
   ontimeout : {Function}
   timeout : {Integer}
   nocache : {Boolean}
}
v1.0.0.20080527
[Top]
Functions
Members
Examples
$load() function call