Jump to content

disable a text field


austine_power007

Recommended Posts

[quote author=Crayon Violent link=topic=118415.msg484179#msg484179 date=1166031873]
[quote author=ToonMariner link=topic=118415.msg484043#msg484043 date=1166017127]
for compliance you shoudl use

<INPUT disabled="disabled" name="fred" value="stone">
[/quote]

really?
http://www.w3.org/TR/html4/interact/forms.html#adef-disabled
[/quote]

I believe that HTML 4.01, as you suggest CV, will accept it either way, but in [b]XHTML[/b], it would require a value provided for each attribute of an element.
Link to comment
https://forums.phpfreaks.com/topic/30452-disable-a-text-field/#findComment-140525
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.