Commit a79befc4 authored by Dominik Rosiek's avatar Dominik Rosiek
parents 1da851bc 1f707a04
hej hej hej <div id="widget">
\ No newline at end of file loading...
</div>
<script>
document.addEventListener('DOMContentLoaded', function(){
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() {
if (xhr.readyState == XMLHttpRequest.DONE) {
document.getElementById('widget').innerHTML = xhr.responseHtml;
}
}
xhr.open('GET', 'http://smog.telemabk.pl/view', true);
xhr.send(null);
});
</script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment