[Project_owners] getElementById behavior in firefox 3

Godmar Back godmar at gmail.com
Fri Mar 14 16:15:14 PDT 2008


On Fri, Mar 14, 2008 at 12:00 PM, Myk Melez <myk at mozilla.org> wrote:
>
>  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 "gets
> and sets the value of the value attribute."
>

Interesting. According to the page to which you linked [1], "value"
isn't listed as an attribute for checkbox (nor is it inherited), so
what are sets/gets of the value property really mapped to?

 - Godmar

[1] http://developer.mozilla.org/en/docs/XUL:checkbox#p-value


More information about the Project_owners mailing list