Godmar Back wrote:
Question: when should you use .setAttribute("x") vs. .x and does
anybody know where this is documented/discussed?
The XUL Reference documents the attributes and properties of XUL
elements. For example, it says that the value property of the checkbox
element <http://developer.mozilla.org/en/docs/XUL:checkbox#p-value>
"gets and sets the value of the value attribute."
Does it differ between XUL and HTML?
HTML also has both attributes and properties, and, if I remember
correctly, like XUL it is not entirely consistent about when to use
which ones.
-myk
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners