摘要: 转自:51cto.com (http://developer.51cto.com/art/200906/131335.htm)一.Javascript代码执行效率1. DOM1.1 使用 DocumentFragment 优化多次 append说明:添加多个 dom 元素时,先将元素 append 到 DocumentFragment 中,最后统一将 DocumentFragment 添加到页面。... 阅读全文
posted @ 2009-07-26 15:25 兼如 阅读(325) 评论(0) 推荐(0) 编辑