Select name Property
Select object
Definition and Usage
The name property sets or returns the name of the drop-down list.
Syntax
Set the name attribute:
selectObject.name=
name
Return the name attribute:
selectObject.name
Browser support





All major browsers support the name property.
Example
Example
The following example displays the name of the drop-down list:
Try it »
Select object