html - Not able to set 'readonly' on text input box -
Is there any obvious reason why this input box is editable?
& lt; Input id = "user name" name = "user name" category = "textfield 70 pc" readonly = "readonly" type = "text" value = "my user name" />
It seems unusable to use javascript / jquery to disable this text box.
If you are searching for it to be grayed out, then unsupported
attribute :
& lt; Input id = "username" name = "username" ... disabled = "disabled" />
Comments
Post a Comment