JavaScript: The Definitive Guide, Sixth Editio javaScript权威指南(第6版) pdf 文字版-文字版, javascript电子书, 和javascript 有关的电子书:

15.2.2 Selecting Elements by Name

In versions of Internet Explorer prior to IE8, getElementById() does a case-insensitive match on element IDs and also returns elements that have a matching name attribute.


15.2.2 Selecting Elements by Name

The HTML name attribute was originally intended to assign names to form elements, and the value of this attribute is used when form data is submitted to a server. Like the id attribute, name assigns a name to an element. Unlike id, however, the value of a name attribute does not have to be unique: multiple elements may have the same name, and this is common in the case of radio buttons and checkboxes in forms. Also, unlike id, the name attribute is only valid on a handful of HTML elements, including forms, form elements,

欢迎转载,转载请注明来自一手册:http://yishouce.com/book/1/27950.html
友情链接It题库(ittiku.com)| 版权归yishouce.com所有| 友链等可联系 admin#yishouce.com|粤ICP备16001685号-1