摘要: http://www.jb51.net/article/7955.htm 阅读全文
posted @ 2015-06-25 17:09 cgf1993 阅读(104) 评论(0) 推荐(0) 编辑
摘要: http://www.jb51.net/article/36755.htm 阅读全文
posted @ 2015-06-25 16:55 cgf1993 阅读(98) 评论(0) 推荐(0) 编辑
摘要: node.insertBefore(newnode,existingnode)node.appendChild(node)1、insertBefore相对于appendChild来说,比较灵活可以将新的节点插入到目标节点子节点数组中的任一位置。2、使用appendChild和insertBefore... 阅读全文
posted @ 2015-06-25 16:19 cgf1993 阅读(155) 评论(0) 推荐(0) 编辑
摘要: http://www.neoease.com/stoppropagation-and-preventdefault-and-return-false/ 阅读全文
posted @ 2015-06-25 15:38 cgf1993 阅读(108) 评论(0) 推荐(0) 编辑