blob: 82ea63bcfdc90c98bd3aa7c731d4fe85fcf3e535 (
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/global.css" 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>
|