a guest Jul 12th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- var el = document.createElement('div');
- el.innerHTML = '<span>>></span><div>remove me</div><span><<</span>';
- var div = el.getElementsByTagName('div');
- document.body.innerHTML = el.innerHTML;
RAW Paste Data