In JavaScript and VBScript, the getElementsByName is a function which is used to access all HTML elements with a specified name.
I'm just curious about a certain scenario: If I want to submit a form using getElementById using the following code …
javascript forms submit getelementsbytagname getelementsbyname