By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,747 Members | 1,389 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,747 IT Pros & Developers. It's quick & easy.

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

P: 23
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.
Mar 26 '09 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
One possible way is to make it read-only and only allow input via buttons.
Mar 28 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.