Namespace: $_

$_

$_ Constructor function
Source:

Namespaces

dom
event
store

Methods

(static) $(selector, contextopt) → {Object}

Simple DOM selector function
Parameters:
Name Type Attributes Description
selector string
context Object <optional>
Source:
Returns:
Type
Object

(static) each(callback)

Iterates over a $_ object, applying a callback to each item
Parameters:
Name Type Description
callback function iteration callback
Source:

(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: