Document getElementsByName() Method
2011-07-17 09:43
232 查看
Definition and Usage
The getElementsByName() method accesses all elements with the specified name.Syntax
document.getElementsByName(name) |
Parameter | Description |
---|---|
name | Required. The name of the element you want to access/manipulate |
Browser Support
The getElementsByName() method is supported in all major browsers.Example
ExampleAlert the number of elements with a specific name:
|
相关文章推荐
- Document getElementsByName() Method
- IE6,7,8浏览器不支持 document.getElementsByClassName
- document,document.all,getElementById,getElementsByName,getElementsByTagName
- document.getElementsByName()与 document.getElementById()、 document.documentElement.getElementsByTagName的区别
- 修正IE下document.getElementsByName无法获取DIV标签
- document.getElementsByName 的一个例子
- document,document.all,getElementById,getElementsByName,getElementsByTagName
- 进一步优化—IE8以下浏览器不支持document.getElementsByClassName() 访问节点;怎么解决?---封装自己的类名
- Prototype 1.6 边学边译 -- 工具函数 document.getElementsByClassName
- document.getElementsByName()与 document.getElementById()、document.getElementsByTagName()的区别
- document.all与getElementById、getElementsByName、getElementsByTagName用法区别-document.all
- document.getElementsByClassName在ie8及其以下浏览器的兼容性问题
- IE中document.getElementById和document.getElementsByName特殊表现
- WEB中关于document.getElementsByName在IE中失效的问题
- IE 中document.getElementsByName
- document.all还是document.getElementsByName?
- document.all还是document.getElementsByName
- document.all & document.getElementsByName?
- document.getElementsByName()与 document.getElementById()、 document.documentElement.getElementsByTagN
- document.getElementsByName和document.getElementById用法