-
-
Save akhyaruu/5ed7c847c2a0fc42e805ab45af721d12 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
xhr.onload = function () { | |
if (this.status == 200) { | |
document.getElementById('text').innerHTML = this.responseText; | |
} else if (this.status == 404) { | |
document.getElementById('text').innerHTML = 'Not Found'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment