mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
25 lines
565 B
HTML
25 lines
565 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<script type="text/javascript">
|
|
|
|
|
|
function boom()
|
|
{
|
|
var sel = document.createElementNS("http://www.w3.org/1999/xhtml", "select");
|
|
var opt;
|
|
for (var i = 0; i < 43; ++i) {
|
|
opt = document.createElementNS("http://www.w3.org/1999/xhtml", "option");
|
|
opt.appendChild(document.createTextNode(i));
|
|
sel.appendChild(opt);
|
|
}
|
|
opt.selected = "selected";
|
|
document.getElementById("div").appendChild(sel);
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="boom();"><div id="div"></div><embed type="application/x-test"></embed></body>
|
|
</html>
|