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

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -