Latest web development tutorials

HTML DOM Parameter value property

Parameter Object Reference Parameter Object

Examples

Gets the value of <param> element:

var x = document.getElementById ( "myParam"). value
x The output is:
true

try it"

Definition and Usage

value property is used to set the parameter value or the return value of the property.

value attribute describes the <param> element's value.

This attribute is usually used with the name attribute is used to describe the plug-in parameter <object> tag.

The value of the property value can be any value specified object supports.

All major browsers support the <param> tag. However, <object> is defined in the file format is not supported by all browsers.


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support attribute value.


grammar

Returns the value property:

parameterObject .value

Set the value property:

parameterObject .value = value

Property Value

value description
value The value of the specified parameter

technical details

return value: String that represents the value of the parameter


Related Pages

HTML Reference Manual: HTML <param> value The property


Parameter Object Reference Parameter Object