Function Description
Takes two or three parameters. For two parameters, it makes a http get request and result returned to the callback function. For three parameters it makes a http get request with result returned in given type. Type values are "XML", "JSON" and "SCRIPT".
Function prototype
_.get(url,callback) or _.get(url,type,callback). Makes an http get request with given @url and returns the result to the @callback in @type format. @type values are "XML", "JSON" and "SCRIPT".
Function parameters
@url - url that request will be send
@type - type of response such as JSON
@callback - function to be called with response data
Sample HTML DIV element is given to try UPJS function.
Orange DIV
Code area to try out _.get function.