摘要: 1.创建一个 <input> 元素必须同时设定 type 属性。因为微软规定 <input> 元素的 type 只能写一次。jQuery 代码:// 在 IE 中无效:$("<input>").attr("type", "checkbox");// 在 IE 中有效:$("<input type='checkbox'>");2.用jquery全选所有的input的写法。$("[name='checkbox']").a 阅读全文
posted @ 2013-04-22 16:23 hlp鹏 阅读(138) 评论(0) 推荐(0) 编辑