JavaScript Reference/Javascript Properties/valueType
Содержание
"valueType" Example
<source lang="javascript">
<html> <body> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.ru/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="243" height="194"> <param id="myP1" name="movie" value="yourfile.swf" valuetype="ref" type="video/*"> <param id="myP2" value="high" name="quality">
<script language="JavaScript">
document.getElementById("myP1").valueType = "ref";
</script> </object> </body> </html>
</source>
"valueType" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |<param> | +----------------+--------------------------------------------------------------+
</source>
"valueType" Possible Values
<source lang="javascript">
Possible Values data, ref the value attribute is a URI object the value attribute is the name of an object.
</source>
"valueType" Syntax and Note
<source lang="javascript">
Note: Read and write property. Sets the data type of attribute in the <param> element.
Syntax:
document.getElementById("paramID").valueType = value document.all.paramID.valueType = value // IE only
</source>