Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Sep 2007
    Posts
    238
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Enable/Disable WYSIWYG Editor?

    I have a form textarea that I can disable/enable using javascript:

    Code:
    document.getElementById('mytextarea').disabled=true
    I have now replaced the textarea with a WYSIWYG editor called openwysiwyg http://www.openwebware.com/ but now I can't disable/enable using the javascript method. I've even tried disabling the whole row that the textarea appears in but the WYSIWYG editor still allows the user to type.

    Any ideas? Thanks.

  • #2
    SSJ
    SSJ is offline
    Regular Coder
    Join Date
    Mar 2007
    Posts
    230
    Thanks
    0
    Thanked 4 Times in 4 Posts
    I think you can't disable OR enable but as an another option you can try to hide that span or row.


  •  

    Posting Permissions

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