Created
June 7, 2012 18:38
-
-
Save daha/2890670 to your computer and use it in GitHub Desktop.
thecrapmen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" | |
type="text/javascript"></script> | |
<script> | |
$(document).ready(function () { | |
'use strict'; | |
function success(data) { | |
$('body').append(JSON.stringify(data)); | |
} | |
$.ajax({url: 'http:///thecrapmen.appspot.com/json', | |
dataType: 'jsonp', | |
jsonpCallback: 'crapman', | |
success: success | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment