We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

NamedNodeMap.getNamedItem()

跳转到:

NamedNodeMap.getNamedItem() 方法返回对应给定名称的属性Attr,如果没有对应名称的属性则返回null

语法

myAttr = attrs.getNamedItem(name)

参数

  • name 是期望获取的属性名

文档标签和贡献者

此页面的贡献者: zwei76
最后编辑者: zwei76,