摘要: 我使用 documentElement 作为userdata 作为本地存储的载体.document.documentElement.addBehavior("#default#userdata");悲剧就产生了.当使用mootools 的 选择器方法 时. 如果很悲剧的 使用了不恰当的选择符.比如$$('[attr=123]');就报错了. 为什么呢?查看 mootools 源码 发现 他的选择器在遍历所有节点时 简单的使用了下面的逻辑 :getProperty: function(attribute){ var key = attributes[attri 阅读全文
posted @ 2010-10-25 18:38 Franky 阅读(4705) 评论(4) 推荐(2) 编辑