Godmar Back wrote:
> On Fri, Mar 14, 2008 at 12:00 PM, Myk Melez <[EMAIL PROTECTED]> 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.

_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to