Remove body element

Posted by w00 on Stack Overflow See other posts from Stack Overflow or by w00
Published on 2010-05-24T19:25:38Z Indexed on 2010/05/24 19:41 UTC
Read the original article Hit count: 272

Filed under:
|
|

How to remove HTML element width all of it's content?

var e = document.getElementsByTag('html');
e.removeChild('body');

Does not work.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html