jsonp

Allows making a remote JSONP cross domain call. JSONP requires a JSONP compliant handler on the server that can return the requested JSON properl wrapped in the requested function call.

jsonp(url,callback,query)

Parameters

url
The URL to call

callback
Function pointer to a method that is fired when the call returns. JSON result is passed as a single parameter.

query
Optional querystring for the request if you don't specify it on the URL. Advantage here is that they query parameter will be URL encoded for you.

See also:

Class global


  Last Updated: 1/8/2008 | © West Wind Technologies, 2008