HTML DOM Parameter Object
<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]-->
HTML DOM Parameter Object
❮ Previous
Next ❯
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():
Example
var x = document.getElementById("myParam");Try it Yourself »
Create a Parameter Object
You can create a <param> element by using the document.createElement() method:
Example
var x = document.createElement("PARAM");
Try it Yourself »
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
❮ Previous
Next ❯