随笔分类 -  Javascript

摘要:<a id="jsPswEdit" class="set-item" href="javascript:;">修改密码</a> 阅读全文
posted @ 2017-03-02 15:38 zslm___ 阅读(245) 评论(0) 推荐(0) 编辑
摘要:甲方:武汉某某某某某有限公司住所地:武汉市某某某某某某某某某某 阅读全文
posted @ 2017-02-28 15:10 zslm___ 阅读(334) 评论(0) 推荐(0) 编辑
摘要:http://www.ruanyifeng.com/blog/2012/09/xmlhttprequest_level_2.html http://www.cnblogs.com/yuanlong1012/p/5127497.html https://front-js.cc/test/fileupl 阅读全文
posted @ 2016-11-16 17:59 zslm___ 阅读(443) 评论(0) 推荐(0) 编辑
摘要:https://harvesthq.github.io/chosen/#optgroup-support 阅读全文
posted @ 2016-10-28 18:16 zslm___ 阅读(361) 评论(0) 推荐(0) 编辑
摘要:Chosen: A jQuery Plugin by Harvest to Tame Unwieldy Select Boxes Into This ... 阅读全文
posted @ 2016-10-27 23:49 zslm___ 阅读(761) 评论(0) 推荐(0) 编辑
摘要:JSON.stringify() JSON.parse() toJSON() var person={"cardId":"546651353435"}; console.log(JSON.stringify(person)); 阅读全文
posted @ 2016-07-07 16:23 zslm___ 阅读(155) 评论(0) 推荐(0) 编辑
摘要:一种是类级别的插件开发,即给jquery添加新的全局函数,相当于给jquery类本身添加方法。如$.ajax()等,这就是用$.extend()实现 jquery的全局函数就是属于jquery命名空间的函数。另一种是对象级别的插件开发,即给jquery对象添加方法. 如$('#btn1').clic 阅读全文
posted @ 2016-06-22 14:40 zslm___ 阅读(198) 评论(0) 推荐(0) 编辑
摘要:<script src="./jquery-1.7.1.min.js"></script><script>;(function($,undefined){ /*也可以用 $.fn.extend()方法 $.fn.extend({ cbacba:function() { console.log($(t 阅读全文
posted @ 2016-06-16 12:21 zslm___ 阅读(171) 评论(0) 推荐(0) 编辑
摘要:(function() { var myQuery=(function() { var _myQuery={}; _myQuery.queryElementById=function(id) { console.log('QueryElementById:'+id); }; ... 阅读全文
posted @ 2016-06-12 21:26 zslm___ 阅读(138) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示