0

I am using Asp text box with Ajax html editor extender. My issue is i don't want to allow to paste the content which is copied from some other source into my text box. And also in my text box when i am clicking the enter(for next line) it is stored as Div tag in my data base how to resolve these two issues. Please let me know the solutions.

Ganeshh1
  • 21
  • 4

1 Answers1

0

Try this See Reference

$(document).ready(function () {
$('input.disablecopypaste').bind('copy paste', function (e) {
   e.preventDefault();
});
});
Community
  • 1
  • 1
Amol
  • 1,431
  • 2
  • 18
  • 32