Results 1 to 2 of 2

Thread: Readonly

  1. #1
    Join Date
    Dec 1969

    Default Readonly

    i have used &#060;Input type = "text" name = "mytextbox" Readonly&#062; to have a readonly textbox. It is working fine with IE. But the same does not give a readonly textbox in Netscape. So, i changed the tag to &#060;Input type = "Readonly" name = "mytextbox" Readonly&#062;.<BR>This gives a readonly textbox in both IE and Netscape. But in Netscape alone, i am not able to change the value of the readonly textbox. Any suggestions in this regard is greatly appreciated.

  2. #2
    Join Date
    Dec 1969

    Default RE: Readonly

    In order to have or SIMULATE a read only &#060;textbox&#062; in both Netscape and Explorer you&#039;ll have to use:<BR><BR>&#060;input type="text" name="txt" size="10" onFocus="this.blur();"&#062;<BR><BR>That is:<BR>onFocus="this.blur();"

Posting Permissions

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