Parameter value attribute
Definition and usage
value
Property settings or returns the value of the parameter's value attribute.
<param> value attribute define the value of the <param> element.
This attribute corresponds to name attribute Used together to <object> tag Specified plugin parameters.
This value can be any value supported by the specified object.
Note:All major browsers support <param> tagHowever,<object> The file format defined in it may not be supported by all browsers.
See also:
HTML Reference Manual:HTML <param> Tag
Example
Get the value of the <param> element:
var x = document.getElementById("myParam").value
Syntax
Return the value attribute:
parameterObject.value
Set the value attribute:
parameterObject.value = value
Attribute Value
Value | Description |
---|---|
value | Specifies the value of the parameter. |
Technical Details
Return Value: | A string value representing the value of the parameter. |
---|
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |
Related Pages
HTML Reference Manual:HTML <param> value Attribute