摘要: 1属性 1.Attributes 属性集合 元素节点的attributes属性返回节点的属性集合,即NamesNodeMoap--一个类数组对象 2.读取属性 var a=document.getElementById("one"); console.log(a.attributes[1].valu 阅读全文
posted @ 2020-11-11 09:37 你是我的救赎 阅读(54) 评论(0) 推荐(0)