THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Parameter Object


Parameter Object

The Parameter object represents an HTML <param> element.

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

Access a Parameter Object

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

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

Create a Parameter Object

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

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

Parameter Object Properties

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

Standard Properties and Events

The Parameter object also supports the standard properties and events.


Related Pages

HTML tutorial: HTML Plug-ins

HTML reference: HTML <param> tag

HTML reference: HTML <object> tag