Parameter name Property
Parameter Object
Example
Obtain the The name of the element:
var x = document.getElementById("myParam").name
x
The output is:
autoplay
Try it »
Definition and Usage
The name property sets or returns the value of the name attribute of the parameter.
The name attribute specifies The name of the element.
This attribute is usually used together with the value attribute to specify the parameters of the plugin defined by