NAME JSONScriptRequest - Call JSONP using script element like XMLHttpRequest SYNOPSIS var req = new JSONScriptRequest(); req.open('GET', 'http://www.example.com/jsonp'); req.onreadystatechange = function() { if (req.readyState == 4) { alert(req.responseJSON); } }; req.send(null); DESCRIPTION See the document of XMLHttpRequest. Class Properties responseJSON var json = req.responseJSON; This attributes represents the response as a JSON object. NULL if the request is unsuccessful or has not yet been sent. Constructor JSONScriptRequest({...}) The following values can be specified for the argument. callback_param The name of the callback parameter key. Default is 'callback'. TODO Implement the features that is not implemented yet. Change throw object to an exception class from a string. SEE ALSO XULPlanet AUTHOR Hironori Yoshida COPYRIGHT Copyright (c) 2006, Hironori Yoshida . All rights reserved. This module is free software; you can redistribute it and/or modify it under the terms of the Artistic license. Or whatever license I choose, which I will do instead of keeping this documentation like it is.