Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (20 sloc) 0.499 kb
<a id="fetch">Make a jsonp request.</a>
<div id="loading"></div>
<div id="response"></div>
<script src="/depender/build?require=More/Request.JSONP,Core/Element.Event"></script>
$('fetch').addEvent('click', function(){
new Request.JSONP({
log: true,
url: '/echo/jsonp',
onComplete: function(data){
$('response').set('text', 'success!');
$('loading').set('text', '');
onRequest: function(){
$('loading').set('text', 'Loading...');
Jump to Line
Something went wrong with that request. Please try again.