上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: a连接点击事件用 this 时,要用 onclick='click(this)',href='javascript:void()' a连接无法使用,要看看是不是自动变成ie7或者更低 阅读全文
posted @ 2016-07-12 22:27 change_4_now 阅读(172) 评论(0) 推荐(0) 编辑
摘要: $("#teams").trigger("liszt:updated");//更新重新绑定 $("#teams").chosen() Chosen 选项列表 地址:https://github.com/amazeui/chosen/blob/master/docs/options.md demo.h 阅读全文
posted @ 2016-07-12 22:26 change_4_now 阅读(23345) 评论(2) 推荐(2) 编辑
摘要: 1. $('#frmCam').serialize();serialize() 方法通过序列化表单值,创建 URL 编码文本字符串。 2.自动对应ID和值 window.camConfig = [<%=(camConfig) %>]; if (camConfig.length>0) { for(va 阅读全文
posted @ 2016-07-12 22:23 change_4_now 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 判断单选框是否选中$("#isallday").attr("checked") 阅读全文
posted @ 2016-07-12 21:38 change_4_now 阅读(4495) 评论(0) 推荐(0) 编辑
摘要: hasOwnProperty 阅读全文
posted @ 2016-07-12 21:37 change_4_now 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 替代全部:.replace(/#/g,"/") 替代第一个:.replace("#","/") var regS = new RegExp(keyWords, "g"); var reg = '<i style="color:red">' + keyWords + '</i>'; data = da 阅读全文
posted @ 2016-07-12 21:36 change_4_now 阅读(141) 评论(0) 推荐(0) 编辑
摘要: alert(document.activeElement.id == "val"); $("#val").focus(); alert(document.activeElement.id == "val"); 阅读全文
posted @ 2016-07-12 21:36 change_4_now 阅读(210) 评论(0) 推荐(0) 编辑
摘要: var sysModule=[]; var treeJson = <%=(sysModule) %>; if (treeJson.length == 0) $("#content").html(""); $(treeJson).each(function (i, menu) { console.lo 阅读全文
posted @ 2016-07-12 21:35 change_4_now 阅读(199) 评论(0) 推荐(0) 编辑
摘要: document.onkeydown = function (event) { var e = event || window.event || arguments.callee.caller.arguments[0]; if (e && e.keyCode == 13 && document.ac 阅读全文
posted @ 2016-07-12 21:35 change_4_now 阅读(135) 评论(0) 推荐(0) 编辑
摘要: //在当前页面内追加换行标签和指定的HTML内容function w( html ){ $(document.body).append("<br/>" + html);}var xmlStr = '<?xml version="1.0" encoding="UTF-8"?>';xmlStr += ' 阅读全文
posted @ 2016-07-12 21:33 change_4_now 阅读(123) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页