このページのJavaScript
function remove() { var parent = document.getElementById("sample"); parent.removeChild(parent.firstChild); }
このページは、「removeChild()」のサンプルプログラムです。