子ノード(node)を削除し、nodeを返します。
function remove() { var parent = document.getElementById("sample"); parent.removeChild(parent.firstChild); }