Namespaces
Methods
-
(static) $(selector, contextopt) → {Object}
-
Simple DOM selector function
Parameters:
Name Type Attributes Description selector
string context
Object <optional>
Returns:
- Type
- Object
-
(static) each(callback)
-
Iterates over a $_ object, applying a callback to each item
Parameters:
Name Type Description callback
function iteration callback -
(static) get(url, data, success_callback, error_callbackopt)
-
Sends a GET type ajax request
Parameters:
Name Type Attributes Description url
string The url to retrieve data
Object get parameters to send success_callback
function callback called on success error_callback
function <optional>
callback called if there is an error - Source:
-
(static) post(url, data, success_callback, error_callbackopt)
-
Sends a POST type ajax request
Parameters:
Name Type Attributes Description url
string The url to post to data
Object post parameters to send success_callback
function callback called on success error_callback
function <optional>
callback called if there is an error - Source: