Created
October 5, 2016 14:00
-
-
Save analogic/99ea1b7f92a0a461c750dbe49239d66b 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
<div id="seznam-programu"></div> | |
<script> | |
var url = "https://fixnet.cz/programy-source-data"; | |
var el = document.getElementById("seznam-programu"); | |
var xhr = new XMLHttpRequest(); | |
xhr.onreadystatechange = function(){ | |
if (xhr.readyState == 4 && xhr.status == 200){ | |
el.innerHTML = xhr.responseText; | |
} | |
}; | |
xhr.open("GET", url, true); | |
xhr.send(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment