Skip to content

Instantly share code, notes, and snippets.

@pushmon
Last active December 3, 2015 23:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pushmon/9935734 to your computer and use it in GitHub Desktop.
Save pushmon/9935734 to your computer and use it in GitHub Desktop.
Jquery
$(document).ready(function() {
$.ajax({
url: '${urlstring}',
success: function(data) {
document.write(data);
},
error: function(xhr, status, error) {
document.write(error + ": " + JSON.parse(xhr.responseText));
}
});
});
@1964308082015
Copy link

<script src="https://gist.github.com/pushmon/9935734.js"></script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment