摘要: Post编辑一点内容要传后台数据库: encodeURIComponent 方法返回编码为统一资源标识符 (URI) 的有效组件的字符串。function encodeURIComponent(encodedURIString : String) : String参数encodedURIString 阅读全文
posted @ 2016-10-24 15:01 h5monkey 阅读(884) 评论(0) 推荐(0) 编辑
摘要: 为什么要学习this?如果你学过函数式编程,面向对象编程,那你肯定知道干什么用的,如果你没有学过,那么暂时可以不用看这篇文章,当然如果你有兴趣也可以看看,毕竟这是js中必须要掌握的东西。 例子1: function a(){ var user = "追梦子"; console.log(this.us 阅读全文
posted @ 2016-10-24 09:22 h5monkey 阅读(298) 评论(0) 推荐(0) 编辑