mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-11-20 10:33:36 +00:00
27 lines
453 B
HTML
27 lines
453 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<script>
|
|
|
|
|
|
function init()
|
|
{
|
|
var sel = document.getElementById("sel");
|
|
var div = document.getElementById("div");
|
|
var newo = document.createElementNS("http://www.w3.org/1999/xhtml", "option");
|
|
|
|
sel.appendChild(div);
|
|
div.appendChild(newo);
|
|
sel.removeChild(div);
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="init();">
|
|
|
|
<div id="div"><option></option></div>
|
|
|
|
<select id="sel"></select>
|
|
|
|
</body>
|
|
</html>
|