Easy Tutorial
❮ Met Document Getelementbyid Event Onseeking ❯

Parameter value Attribute

Parameter Object

Example

Get the value of a <param> element:

var x = document.getElementById("myParam").value
true

Definition and Usage

The value attribute is used to set or return the value of the value attribute of a parameter.

The value attribute describes the value of the <param> element.

This attribute is typically used together with the name attribute to describe plugin parameters for the <object> tag.

The value of the value attribute can be any value supported by the specified object.

All major browsers support the <param> tag. However, not all browsers support all file formats defined in the <object>.


Browser Support

All major browsers support the value attribute.


Syntax

Return the value attribute:

Set the value attribute:

Attribute Values

Value Description
value Specifies the value of the parameter

Technical Details

| Return Value: | String, representing the value of the parameter | | --- | --- |


Related Pages

HTML Reference: HTML <param> value Attribute


❮ Met Document Getelementbyid Event Onseeking ❯