Remover elemento
Remover elemento con Javascript
var d = document.getElementById('mySpan');
d.parentNode.removeChild(d);
Written by Yesi D
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Javascript
Authors
Related Tags
#javascript
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#