jquery设置页面元素为只读
来源:互联网 发布:java web helloworld 编辑:程序博客网 时间:2024/05/18 22:46
/** * 设置页面为只读 */Utils.setPageUnEdit=function(fromId){ $(":text,:password,:submit,:image,:reset,:button,:file",'#'+fromId).each(function(i){ $(this).attr("readonly",true); }); $("textarea",'#'+fromId).each(function(i){ $(this).attr("readonly",true); }); $("select",'#'+fromId).each(function(i){ $(this).attr("readonly",true); }); // 超链接 $("form a",'#'+fromId).each(function(){ $(this).hide(); });}
0 0
- jquery设置页面元素为只读
- 设置所有表单元素为只读属性
- jsp页面输入框设置为只读
- JQuery 设置checkbox select radio 为“只读”
- Jquery显示和隐藏元素或设为只读(…
- jquery如何让所有表单元素均为只读
- 设置只读页面
- jQuery设置控件只读
- 设置一列为只读
- 设置RadioButtonList 为只读
- 设置RadioButtonList 为只读
- 设置fckeditor为只读
- 设置CEdit为只读
- 设置ckeditor为只读
- 设置页面所有控件只读。
- JQUERY 设定文本框为只读
- jquery让表单中所有可编辑元素均为只读的方法
- 设置FileUpload控件为只读
- Tsinghua OJ:列车调度(Train)
- 283、Move Zeroes
- linux 修改IP, DNS 命令
- 【OpenCV】直方图应用:直方图均衡化,直方图匹配,对比直方图
- FL2440使用J-Link烧写Nand> Flash遇到CPU is not halted!
- jquery设置页面元素为只读
- 自制sublime text color scheme分享
- windows 32位以及64位的inline hook
- Jlink V8 提示更新固件,不能下载程序
- UDP中connet()的验证代码
- HTTP 协议的通用头域via 的意义以及作用
- Android中音频管理--AudioFocus机制使用说明
- 算法导论第十章练习10.2-2,10.2-3,10.2-5,10.2-6,10.2-7
- Android解析XML数据和Json数据