摘要: This is an artifact of the way the Javascript console works when you log an object. The log doesn't contain a copy of all the object properties, it ju 阅读全文
posted @ 2019-12-22 20:44 白手zc 阅读(0) 评论(0) 推荐(0) 编辑
摘要: js中的event对象包含很多有用的信息 target:触发事件的元素。 currentTarget:事件绑定的元素。 两者在没有冒泡的情况下,是一样的值,但在用了事件委托的情况下,就不一样了,例如: 阅读全文
posted @ 2019-12-22 16:40 白手zc 阅读(0) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/facial/p/5692568.html 阅读全文
posted @ 2016-12-25 18:41 白手zc 阅读(37) 评论(0) 推荐(0) 编辑
摘要: http://www.jianshu.com/p/8d26730386f3 阅读全文
posted @ 2016-12-25 18:41 白手zc 阅读(32) 评论(0) 推荐(0) 编辑
摘要: http://www.wufangbo.com/css-hack/ 阅读全文
posted @ 2016-12-25 18:40 白手zc 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 问题一:行内onclick触发的函数放在$(funtion(){})内报错,错误代码如下: 运行之后报错:say is not defined $(function{})的作用类似于window.onload,都是网页加载完成在执行相应的代码。删去$(function(){})之后程序运行正常,看来 阅读全文
posted @ 2016-12-23 08:55 白手zc 阅读(6105) 评论(1) 推荐(0) 编辑