Restricting the user not to paste,delete or update content in iframe

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • malathib
    New Member
    • Mar 2009
    • 23

    Restricting the user not to paste,delete or update content in iframe

    Hi,

    i am having a text editor which uses iframe. Here if the user is trying to paste some text into the iframe, how i can restrict the user not to do that. in the same manner, i don't want the user to delete the content from iframe directly. if the user is trying to do that, it has to alert the user.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    One possible way is to make it read-only and only allow input via buttons.

    Comment

    Working...