Readonly property

Results 1 to 2 of 2

Thread: Readonly property

  1. #1
    Join Date
    Dec 1969

    Default Readonly property

    In my ASP pages, I set a text field to readonly like:<BR><BR>&#060;INPUT name="field1" value="&#060;%=my_field%&#062;" readonly&#062;<BR><BR>Is there a way to turn the readonly property off using JavaScript? I can change the disabled property, but it makes the field very hard to read.

  2. #2
    Join Date
    Dec 1969

    Default readonly doesn't work in NS

    ...if you care.<BR><BR>But in MSIE:<BR><BR><BR><BR>Notice the upper/lower case of that word! JS is case-sensitive, so doing it wrong won&#039;t work.<BR><BR>document.FormName.FieldName.readOnly = false;<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts