Parameter valueProperty
Examples
Get the value of the <param> element:
var x = document.getElementById("myParam").value
xThe output result is:true
Try it Yourself »
Definition and Usage
The value property is used to set or return the value of the parameter's value attribute.
The value property describes the value of the <param> element.
This property is usually used together with the name property to describe the plugin parameters of the <object> tag.
The value of the value property can be any value supported by the specified object.
All major browsers support the <param> tag. However, the file format defined in <object> is not supported by all browsers.
Browser Support
![]()
![]()
![]()
![]()
![]()
All major browsers support the value property.
Syntax
Return the value property:
parameterObject.value
Set the value property:
parameterObject.value=value
Property Values
| Value | Description |
|---|---|
| value | Specifies the value of the parameter |
Technical Details
| Return Value: | A string, representing the value of the parameter |
|---|
Related Pages
HTML Reference Manual:HTML <param> value Attribute
Parameter Object Other Extensions