HTML DOM ParameterObject


Parameter Object

The Parameter object represents an HTML <param> element.

The <param> element is used to define parameters for plugins embedded in an <object> element.

Access the Parameter Object

You can access a <param> element by using getElementById():

var x = document.getElementById("myParam"); Try it Yourself

Create a Parameter Object

You can create a <param> element using the document.createElement() method:

var x = document.createElement("PARAM"); Try it Yourself

Parameter Object Properties

Property Description
name Sets or returns the value of the name attribute of the parameter
value Sets or returns the value of the value attribute of the parameter

Standard Properties and Events

The Parameter object also supports standardPropertiesandEvents。


Related Articles

HTML Tutorial:HTML Plug-ins

HTML Reference Manual:HTML <param> Tag

HTML Reference Manual:HTML <object> Tag

Other Extensions