<script> | |
var runTests = function () { | |
document.getElementById("dt1").removeChild(document.getElementById("summary1")); | |
}; | |
</script> | |
<body onload="runTests()"> | |
<details id="dt1"> | |
<summary id="summary1">summary 1</summary> | |
<summary id="summary2">summary 2</summary> | |
</details> | |
</body> |