blob: b8ab7da84fa919ef54de2d62677f96ebc7388788 [file] [log] [blame]
<script>
var createNewElement = function (tag, id, text) {
var result = document.createElement(tag);
result.setAttribute('id',id);
result.innerHTML = text;
return result;
};
var runTests = function () {
document.getElementById("dt1").appendChild(createNewElement("summary", "new1", "new 1"));
document.getElementById("dt1").appendChild(createNewElement("summary", "new2", "new 2"));
};
</script>
<body onload="runTests()">
<details id="dt1"></details>
</body>