html - What does innerHTML do in javascript? - Stack Overflow
https://stackoverflow.com/questions/4879066/what-does-innerhtml-do-in-javascript
WEBFeb 2, 2011 · The innerHTML property is used to get or set the HTML content of an element node. Example: http://jsfiddle.net/mQMVc/. // get the element with the "someElement" id, and give it new content. document.getElementById('someElement').innerHTML = "<p>new content</p>"; // retrieve the content from an element.
DA: 12 PA: 30 MOZ Rank: 77