[Project_owners] getElementById behavior in firefox 3
Neil Deakin
enndeakin at gmail.com
Fri Mar 14 16:34:07 PDT 2008
Godmar Back wrote:
> 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?
>
>
Looks like an error is the documentation. There is no value for
checkboxes. You adjust the value with the checked property.
More information about the Project_owners
mailing list