Skip to content

Instantly share code, notes, and snippets.

@jswhisperer
Created February 2, 2014 19:14
Show Gist options
  • Select an option

  • Save jswhisperer/8773273 to your computer and use it in GitHub Desktop.

Select an option

Save jswhisperer/8773273 to your computer and use it in GitHub Desktop.
REQUEST nojquery
request = new XMLHttpRequest
request.open('GET', '/my/url', true)
request.send()
request.onload = function() {
resp = this.response
}
request.onerror = function() {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment