|
|
| how do I remove a <div> element completely? |
| foo.removeChild(div); |
| ok, thanks |
| montanarry, div.parentNode.removeChild(div); might easier to use |
| I tried "ddocument.removeChild(document.getElementById('notice'));" but that didn't work =/ -d in the beginning. |
| montanarry, var div = document.getElementById('notice'); div.parentNode.removeChild(div); |