Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

valuetype attribute | valueType property

Sets or retrieves the data type of the value attribute.

Syntax

HTML<element valuetype="p" ... >
JavaScript

p = object.valueType

Property values

Type: String

the type of data specified in the value attribute of the param element.

data

Default. The value specified by the value attribute will be evaluated and passed to the applet, embed, or object element as a string.

ref

The value specified by the value attribute is a URI that designates a resource where run-time values are stored. This allows support tools to identify URIs given as parameters.

object

The value specified by the value attribute is an 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.

Standards information

Remarks

valueType was introduced in Microsoft Internet Explorer 6

Examples

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 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>

See also

param
Conceptual
Binding HTML Elements to Data
Introduction to Data Binding

 

 

Show:
© 2014 Microsoft