VALUETYPE Attribute | valueType Property
| DHTML文档教程 |
Sets or retrieves the data type of the value attribute.
dhtml语法
HTML | <PARAM VALUETYPE
= p... >
|
---|
Scripting | PARAM.valueType(v) [ = p ] |
---|
DHTML可能的值
p | String that
specifies or receives 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 uniform resource identifier (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 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.
DHTML代码范例
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="/hbcms/php/r.php?url=http%3A%2F%2Fmsdn.microsoft.com/workshop/samples/author/behaviors/media/28movie.asf"
VALUETYPE="ref" TYPE="video/*"/>
</OBJECT>
是否符合公共标准
This property is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
更多语法参考
binding html elements to data, Introduction to Data Binding