首页 > 其他 > 详细

input 去掉表框

时间:2014-01-14 21:33:50      阅读:559      评论:0      收藏:0      [点我收藏+]

<input type="text" id="input_id"/>

Jquery 方式:

$("#input_id").attr("readonly",true); //设置为只读模式
$("#input_id").attr("style","border:1px;border-bottom-style:none;border-top-style:none;border-left-style:none;border-right-style:none;"); // 去掉边框

其实就是把 style 设置 为: "border:1px;border-bottom-style:none;border-top-style:none;border-left-style:none;border-right-style:none;"

input 去掉表框

原文:http://www.cnblogs.com/yunp07/p/3513434.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!