Hi, I use the following code in overlays to create a DOM element:
var doc = document.implementation.createDocument("", "", null);
var foxyproxyElem = doc.createElement("foxyproxy");
But this code doesn't work in an XPCOM JS component--there is no
document. Is there an XPCOM service which can do this? If not, any
other way?
Thanks for any ideas,
Eric
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners
