JavaScript » Select » name

Syntax:
object.name

This property consists of a string which gives the name of the selection.

Examples

Code:
document.forms[0].elements[0].name
Explanation:

For example, to refer to the name of the first Select object in the first form of the current document, you could use this code.