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 feras_wilson's Avatar
    Join Date
    Jul 2005
    Location
    Sweden
    Posts
    129
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Problem with execCommand('undo')

    Hi all!
    document.execCommand('undo') dont work in my page. I have internet explorer 7. I need another method to do the undo function. I have seen another method in a page but i dont remeber the page's URL.
    Please Help me!
    I am not so good at english.
    Can you please give me another method to do undo function.
    Code:
    <button onclick="adivp.document.execCommand('undo')">Undo</button>
    <div contenteditable id="adivp" style="width:100px;height:100px;border:1px solid;">
    </div>
    Exp:
    PHP
    .NET

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,079
    Thanks
    203
    Thanked 2,542 Times in 2,520 Posts


  •  

    Posting Permissions

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