I have some DOM element which I retrieve with getElementById
method.
I need to replace this element with new html-element (i.e. I want to see correctly-rendered <h1>hello</h1>
in the place where the old element were shown.
How can I do that? (p.s. jquery is not allowed).