Hi,

I have loaded a XUL document in an iframe and try to change an
attribute of a label tag with the above mentioned method. I get the
error code 80530005 and (obviously) nothing changes.

I got the element by calling nsIDOMDocument->GetElementById and
checked with element->GetTagName that I really have  the label.

My call is e.g.:

element->SetAttribute(NS_LITERAL_STRING("disabled"),
NS_LITERAL_STRIN
G("false"));

It doesn't work for the value attribute as well. GetAttribute also
doesn't work.

What do I have to change?

-Andreas

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to