摘要: 一、Attribute是属性的意思,attributes:获取一个属性作为对象。getAttribute:获取某一个属性的值setAttribute:建立一个属性,并同时给属性捆绑一个值createAttribute:仅建立一个属性removeAttribute:删除一个属性getAttributeNode:获取一个节点作为对象setAttributeNode:建立一个节点removeAttributeNode:删除一个节点getAttribute,setAttribute,createAttribute,removeAttribute四兄弟的概念比较容易理解,使用方法也比较简单,唯一需要注意 阅读全文
posted @ 2013-09-05 15:35 最是那一杯红酒 阅读(1256) 评论(0) 推荐(0) 编辑