2016年7月4日

es6新特性

摘要: 变量 let, const:必须直接给一个变量赋值。注意,对象的属性或数组成员还是可以改变的。 const MY_OBJECT = {some: 1}; MY_OBJECT.some = 'body'; // Cool 箭头函数:=> 字符串 方法:startsWith(),endsWith(),i 阅读全文

posted @ 2016-07-04 23:47 cag2050 阅读(267) 评论(0) 推荐(0) 编辑

实时监听输入框值变化的完美方案:oninput & onpropertychange

摘要: 实时监听输入框值变化的完美方案:oninput & onpropertychange: 网址:http://www.cnblogs.com/lhb25/archive/2012/11/30/oninput-and-onpropertychange-event-for-input.html 阅读全文

posted @ 2016-07-04 17:57 cag2050 阅读(177) 评论(0) 推荐(0) 编辑

导航