Created
September 1, 2016 17:17
-
-
Save roramirez/5661b3886cf5b2851ea13ac93d9a73be 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
var xhttp; | |
if (window.XMLHttpRequest) { | |
xhttp = new XMLHttpRequest(); | |
} else { | |
// code for IE6, IE5 | |
xhttp = new ActiveXObject("Microsoft.XMLHTTP"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment