X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

Parameter value Property

Parameter Object Reference Parameter Object

Example

Get the value of a <param> element:

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

The result of x will be:

true

Try it yourself »


Definition and Usage

The value property sets or returns the value of the value attribute of a parameter.

The value attribute specifies the value of a <param> element.

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

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

Note: The <param> tag is supported in all major browsers. However, the file format defined in <object> may not be supported in all browsers.


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The value property is supported in all major browsers.


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: HTML <param> value attribute


Parameter Object Reference Parameter Object

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook