如何在输入文本字段中使用jQuery禁用粘贴(Ctrl+V)选项?
发布于 2018-02-07 08:17:52
这现在适用于IE FF Chrome。不过,我还没有测试过其他浏览器。
$(document).ready(function(){
$('#txtInput').bind("cut copy paste",function(e) {
e.preventDefault();
});
});
https://stackoverflow.com/questions/-100007355
复制相似问题