<input type="text"> and <html:text> 禁止复制
来源:互联网 发布:党规党纪面前知敬畏 编辑:程序博客网 时间:2024/06/05 08:19
http://apps.hi.baidu.com/share/detail/45995238
<input type="text" onselectstart="return false" oncopy="return false" onpaste="return false" /> 这样就只有这个控件不能拷贝,不能粘贴了。
但是我用html:text根本就没有onselectstart ..这些事件,所以没办法,这也用不了。
最后,还是用<html:text maxlength="50" size="36" property="email1" onmousedown="this.oncontextmenu = function() { return false;} " onkeydown="if(event.ctrlKey) return false;"/>来解决的。
- <input type="text"> and <html:text> 禁止复制
- JavaScript通过preventDefault()使input[type=text]禁止输入但保留光标
- HTML中input type="text"和type="password" 显示的长度不一样
- css style(about input type="text")
- input type="text" 和 img对齐
- 动态生成文本框 input type="text"
- 设置<input type="text">的默认值
- .btns-box input[type="text"]
- MapKit and Text Input
- Android-Text and Input
- html input type text标签属性和方法事件
- html input type text标签属性和方法事件
- Html input type text标签属性和方法事件
- html input type text标签属性和方法事件
- html input type text标签属性和方法事件
- html中去掉文本框(input type="text")的边框或只显示下边框
- html中input标签type=text的只读属性readonly和autocomplete
- 让HTML中的文本框<input type="text">中的文字垂直居中
- vc 下编写的 Windows窗口小程序 计算机
- Unix/Linux C++应用开发-make工具的使用
- 字符串操作(二)
- JS字符串处理函数
- java解惑1-表达式谜题
- <input type="text"> and <html:text> 禁止复制
- 关系型数据库管理系统比较
- sqlserver2005+sa密码反复被修改
- android学习笔记14--------------Internet(1)
- 用JXL插入图片到excel的方法
- 在应用程序级别之外使用注册为 allowDefinition='MachineToApplication' 的节是错误的
- iOS 5上手视频
- centos file-max
- 关于新闻系统的分析