Results 1 to 2 of 2

Thread: unchangeable String

  1. #1
    Join Date
    Oct 2007
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default unchangeable String

    with help this command i can put a string insted of a selected one :

    tinyMCE.execCommand('mceInsertRawHTML', false, "blabla");

    but i can delete this string insinde the Tiny editor with the Del Button ( Keyboard ) ! How can make it undeletable or unchangeable ??? Does anybody have an idea ?

  2. #2
    Join Date
    May 2007
    Location
    USA
    Posts
    373
    Thanks
    2
    Thanked 4 Times in 4 Posts

    Default

    Javascript strings are by default immutable. I'm not sure I understand your question. Of course you can change your source code by hitting delete. Otherwise you would be back in the days of punch cards for programming. My advise, don't change it unless you want to. Your client can't.
    Trinithis

Bookmarks

Posting Permissions

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