上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页
摘要: onchange检测当前select是否被改变。无标题文档月以下非原创:比如1、设置value为pxx的项选中 $(".selector").val("pxx");2、设置text为pxx的项选中 $(".selector").find("option[text='pxx']").attr("sel... 阅读全文
posted @ 2015-09-15 15:09 328201736 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-09-15 10:46 328201736 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 今天做项目遇到$.get方法进来的元素。直接获取找到此元素,原来的 $.get进来的元素。要这样的才能找到$(".cont").find("$.get进来的元素") 阅读全文
posted @ 2015-09-14 14:32 328201736 阅读(211) 评论(0) 推荐(0) 编辑
摘要: *{ -webkit-text-size-adjust: none;} input[type="button"], input[type="submit"], input[type="reset"] { -webkit-appearance: none;}textarea { -... 阅读全文
posted @ 2015-09-14 14:23 328201736 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 以下内容非原创1、移动端如何定义字体font-family三大手机系统的字体:ios 系统默认中文字体是Heiti SC默认英文字体是Helvetica默认数字字体是HelveticaNeue无微软雅黑字体android 系统默认中文字体是Droidsansfallback默认英文和数字字体是Dro... 阅读全文
posted @ 2015-09-14 14:14 328201736 阅读(202) 评论(0) 推荐(0) 编辑
摘要: *下面封装的监控TEXT VAL 值 的函数*/$.event.special.valuechange = { teardown: function (namespaces) { $(this).unbind('.valuechange'); }, handler: ... 阅读全文
posted @ 2015-09-14 14:00 328201736 阅读(514) 评论(0) 推荐(0) 编辑
摘要: 如果删除行内样式中某一个 属性,例下面: H2本身有 font-size:12px; margin:0; padding:0;点击事件加了一个 border","1px dashed red",则次点击把 border去了,保留font-size:12px; margin:0; padding:0;... 阅读全文
posted @ 2015-09-14 10:46 328201736 阅读(2233) 评论(0) 推荐(0) 编辑
摘要: 如下代码如何交换 #a与#b的位置整个DOM交换无标题文档1122点击答: 阅读全文
posted @ 2015-09-11 11:07 328201736 阅读(2052) 评论(0) 推荐(0) 编辑
摘要: 封装JSON f111111245487878fffffView Code下面是JSON中带数组的 封装JSON f111111245487878fffffView Code封装... 阅读全文
posted @ 2015-09-09 11:13 328201736 阅读(257) 评论(0) 推荐(0) 编辑
摘要: .os_mac { font-family: "Microsoft YaHei"; /*font-family: "ff-tisa-web-pro-1","ff-tisa-web-pro-2","Lucida Grande","Hiragino Sans GB","Hir... 阅读全文
posted @ 2015-09-01 14:19 328201736 阅读(201) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页