:: Forum >> Version 2 >>

Bug on disabled flag with Firefox for AW.UI.Button

More information on this topic is available in the documentation section: /general.faq.releases/.

When we set the attribute disabled to true the text button, the text is disabled on Ie but not in fireFox

firefox don't understand the disabled attribut in <span> tag
Laurent
Wednesday, December 7, 2005
After much 'fiddlin' around, I found that disabled does not seem to be the boolean most think it is. Try this:

obj.setAttribute("disabled", "disabled");

but keep in mind that the AW controls do not seem to behave like you might think is set to disabled. For instance, if you set a button to disabled, the text will show up in a grayed out fashion and the button 'looks' disabled, but you can click on it and it still behaves like a normal button. So in my opinion, use the disabled attribute with much care.
Jim Hunter
Wednesday, December 7, 2005



This topic is archived.

Back to /general.faq.releases/

Documentation:

Forum search