Q:

Insert HTML Content from URL into HTML (form, div, iframe, ...)

I want to display the result of this URL 
http://api.openweathermap.org/data/2.5/weather?q=Berlin,de&mode=html&appid=...1
which looks like
https://i.stack.imgur.com/WWRoD.png

how can I insert the HTML content from the URL directly into an iframe or div?
Thanks!

A:

If you already are able to get that response html, all you need to do is insert it onto the page
document.getElementById('mydiv').innerHTML = "<p>some html</p>"

