getElementsByName method (document, XMLDocument) JavaScript
Returns a NodeList collection that contains all elements in the current document with the specified name attribute. The getElementsByName method works differently in different browsers. In Internet Explorer and Opera, it searches and returns the elements ...