Created
November 8, 2008 22:45
-
-
Save swannodette/23151 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
// this is a space instance or shift instance | |
this.xmlhttpRequest({ | |
'method': 'GET', | |
'url':'http://someurl.com', | |
'onload': function(response) | |
{ | |
// callback code, response arg is the response text | |
}, | |
'onerror': function(response) | |
{ | |
// error handling code, response arg is the response text | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment