You can create XUL dynamically but you need to use DOM functions. For 
example:

var txt=document.createElement("text");
txt.setAttribute("value","hello");
document.documentElement.appendChild(txt);


See: http://www.w3.org/DOM/

/ Neil


R wrote:
> hi,
> 
> i want to know if it is possible to write an xul tag to the xul document via
> a script using
> 
> document.write('<text value="hello"/>');
> 
> i tried this, but its not working. plz help
> 
> thanx
> 
> 
> 
> 
> 
> 
> 


Reply via email to