javascript
tytfhh
这个作者很懒,什么都没留下…
展开
-
javascript 给一个对象绑定事件
//绑定事件change function dispatch(el, type){ try{ var evt = document.createEvent('Event'); evt.initEvent(type,true,true)原创 2015-08-11 16:05:45 · 333 阅读 · 0 评论 -
JS match() 方法注意点 (一)
string1.match(string2); 使用判断时,和“null”比较 即: string1.match(string2) == "null"原创 2015-11-09 10:00:20 · 1408 阅读 · 0 评论