11 2011 档案

range and selection
摘要:1、通过document.createRange方法创建的Range无法正确执行createContextualFragment,需要document.getSelection().getRangeAt(0).createContextualFragment这样才行;2、document.createRange得到的range也无法直接insertNode进去一个documentFragment;比如f=range.createContextualFragment('<div>的解放路</div>');range.isertNode(f)会报错;3、se 阅读全文

posted @ 2011-11-26 19:14 argb 阅读(233) 评论(0) 推荐(0)

ECMAScript 5 与 ECMAScript 3 的一个小区别
摘要:In ECMAScript 5 (and some ECMAScript 3 implementations), reserved words may beused as property names without quoting. In general, however, property names that arereserved words must be quoted in ECMAScript 3. In ECMAScript 5, a trailing commafollowing the last property in an object literal is ignore 阅读全文

posted @ 2011-11-20 23:23 argb 阅读(1548) 评论(0) 推荐(0)

End-to-end and Hop-by-hop Headers-----from HTTP1.1
摘要:13.5.1 End-to-end and Hop-by-hop HeadersFor the purpose of defining the behavior of caches and non-caching proxies, we divide HTTP headers into twocategories:· End-to-end headers, which are transmitted to the ultimate recipient of a request or response. End-to-endheaders in responses MUST be st 阅读全文

posted @ 2011-11-11 15:17 argb 阅读(430) 评论(0) 推荐(0)

导航