'getElementsByName()' Syntax, Parameters and Note
Note: Get element by name. Syntax: document.getElementsByName(param1) Parameters: param1 Required; the element's name or id attribute value.