Re: radio button disabled

From: krutohlav (krutohlav@host.sk)
Date: 13. 02. 2002, 23:48 CET


Nazdar,
Wednesday, February 13, 2002, si napisal:

> Nazdar,
> Wednesday, February 13, 2002, si napisal:

>>>> Uz tu prebehly rozne komplikovane navrhy, ale ten najjednoduchsi 
>>>> este nie ;) Miesto DISABLED tam daj predsa READONLY.
>>>
>>> Na to jsem take narazil, ale nefungovalo mi to (v Mozille). Funguje to
>>> jen v IE? Ja jsem nikde ve specifikaci nenasel, ze by radio button mel i
>>> volbu READONLY. 

>> Dle specifikace na W3C nema, schvalne jsem se tam rano dival, 
>> kdyz jsem ten prispevek cetl. 

>> Zdar KAB

Este raz :)
Nedalo mi to a tiez som sa pozrel na w3c a vysledok:

17.12.2 Read-only controls
Attribute definitions

readonly [CI] 
When set for a form control, this boolean attribute prohibits changes to the control. 
The readonly attribute specifies whether the control may be modified by the user. 

When set, the readonly attribute has the following effects on an element:

Read-only elements receive focus but cannot be modified by the user. 
Read-only elements are included in tabbing navigation. 
Read-only elements may be successful. 
The following elements support the readonly attribute: INPUT and TEXTAREA. 

How read-only elements are rendered depends on the user agent.

Note. The only way to modify dynamically the value of the readonly attribute is through a script. 

--
S pozdravom,
 krutohlav                            



This archive was generated by hypermail 2.1.2 : 13. 02. 2002, 23:49 CET