blob: f3bc1d134396fb040d37dad56cbc7007dedf157d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="boom();">
<script type="text/javascript">
function boom()
{
var option = document.createElementNS("http://www.w3.org/1999/xhtml", "option");
document.getElementById("tc").appendChild(option);
}
</script>
<tree><treechildren id="tc"><hbox/></treechildren></tree>
</window>
|