Created
June 14, 2011 14:40
-
-
Save SeanRoberts/1025028 to your computer and use it in GitHub Desktop.
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
$.ajax({ | |
url: '/forge/assets/' + id, | |
type: 'GET', | |
data: data, | |
success: function(data) { | |
// do the success stuff | |
}, | |
error: function() { alert("There was a small error, you may need to refresh the page to see your new asset."); } | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment