上一页 1 ··· 3 4 5 6 7
摘要: 线上: 北美留学圈:http://www.nastudyadvice.com/out/index.php/welcome; 海宁市盐官镇手拉手信用积分平台:http://www.1314sls.com/; 中美华东-->>赛氏微信:http://demo.188388.cn:8104/ziyi/ 未 阅读全文
posted @ 2017-10-09 10:11 博客小鹏鹏 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 实现方式: html: <div class="pay-four"> <div class="pay-four-border"> <input type="radio" name="payment" id="" value="" class="pay-choose" /><img src="stat 阅读全文
posted @ 2017-07-06 09:35 博客小鹏鹏 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 闭包(closure)是Javascript语言的一个难点,也是它的特色,很多高级应用都要依靠闭包实现。 要学习闭包最先需要学习js的变量作用域(第一节教程已经讲过),变量的作用域无非就是两种:全局变量和局部变量。 js 语言的特殊之处,就在于函数内部可以直接读取全局变量。另一方面,在函数外部自然无 阅读全文
posted @ 2017-06-04 11:51 博客小鹏鹏 阅读(136) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> function person(name, age) { this._name = name; this._age = age; var _self = this; this.say = function() { console.log 阅读全文
posted @ 2017-06-04 10:08 博客小鹏鹏 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 使用JSON 来定义一个对象: <script type="text/javascript">var xiaoming = { name : 'xiaoming', age : 18, say : function(){ console.log('my name is '+this.name); } 阅读全文
posted @ 2017-06-03 00:21 博客小鹏鹏 阅读(78) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7