html - Change content of a div using JavaScript -
How to dynamically change the contents of a device using Javascript
should do this:
& lt; Div id = "foo" & gt; Div that you want to change & lt; / Div & gt;
and in JavaScript:
document.getElementById ('foo'). InnerHTML = 'Your Content';
Comments
Post a Comment