Top "Getelementsbyname" questions

In JavaScript and VBScript, the getElementsByName is a function which is used to access all HTML elements with a specified name.

How do I submit a form in javascript using the getElementsByName method?

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