04 2016 档案

摘要:function jQuery() { return new jQuery.fn.init(); } jQuery.fn = jQuery.prototype = { init: function() { return this; }, showName: function() { console.log(this.name); ... 阅读全文
posted @ 2016-04-25 19:07 PLDaily 阅读(1303) 评论(0) 推荐(0)
摘要:1. 函数对全局的output进行操作,因为JS没有块级作用域,所以output为1. 2. 函数传入output的值,但函数内只是对参数output做加一操作,没有对全局的output进行操作,所以output为0. 3. 函数内的output值因为函数本身没用,也没有通过参数传递进入,所以对全局 阅读全文
posted @ 2016-04-25 17:08 PLDaily 阅读(1088) 评论(0) 推荐(0)
摘要:一.JS代码: 二.html代码 三.test.php 阅读全文
posted @ 2016-04-20 19:50 PLDaily 阅读(253) 评论(0) 推荐(0)
摘要:一般的教程网上有很多,主要讲下我遇到的问题以及解决方法: 一.hexo建立的文档无法上传github 上面是我成功的代码,一般的教程里会让你type: github会发生错误,解决方法为:来源为:http://blog.163.com/gis_warrior/blog/static/19361717 阅读全文
posted @ 2016-04-11 21:26 PLDaily 阅读(241) 评论(0) 推荐(0)