innerHTML = url

wxdqz

New Member
Is there a way of setting the innerHTML of an element to the HTML in an external file, as pointed to by a URL.

E.g.

myContainer.innerHTML = contents_of("new_content.htm");

This would be really useful!
 
Back
Top