VALUETYPE Attribute | valueType Property

Internet Development Index

Sets or retrieves the data type of the value attribute.

Syntax

HTML<PARAM VALUETYPE = p... >
ScriptingPARAM.valueType(v) [ = p ]

Possible Values

pString that specifies or receives the type of data specified in the value attribute of the param element.
dataDefault. The value specified by the value attribute will be evaluated and passed to the applet, embed, or object element as a string.
refThe value specified by the value attribute is a Uniform Resource Identifier (URI) that designates a resource where run-time values are stored. This allows support tools to identify URIs given as parameters.
objectThe value specified by the value attribute is an identifier (ID) that refers to an object declaration in the same document. The ID must be the value of the id attribute set for the declared object element.

The property is read/write. The property has a default value of data.

Example

The following example shows how to use the param element to specify a run-time parameter for the object specified by the object element. A URI is specified for the Microsoft Windows Media® Player control.

<OBJECT CLASSID="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
<PARAM NAME="FileName"
VALUE="http://msdn.microsoft.com/workshop/samples/author/behaviors/media/28movie.asf"
VALUETYPE="ref" TYPE="video/*"/>
</OBJECT>

Standards Information

This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

PARAM

See Also

Binding HTML Elements to Data, Introduction to Data Binding