mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-09 20:54:40 +00:00
21 lines
428 B
HTML
21 lines
428 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
<script>
|
|
function foopy()
|
|
{
|
|
var optgroup = document.getElementById("optgroup");
|
|
var newspan = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
|
|
optgroup.insertBefore(newspan, optgroup.firstChild);
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="foopy()">
|
|
|
|
<select><optgroup label="optgroup" id="optgroup"><option>option</option></optgroup></select>
|
|
|
|
</body>
|
|
|
|
</html>
|