www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
 param Object
PARAM Element | param Object

Sets the initial value of a property for an APPLET, EMBED, or OBJECT element.

Members Table

The following table lists the members exposed by the param object.

Attributes/Properties
Show:
AttributePropertyDescription
DATAFLD Sets the field of a given data source for data binding.
DATAFORMATAS Sets whether data supplied to the object should be rendered as text or HTML.
DATASRC Sets the source of the data for data binding.
NAMEname Sets or retrieves the name of an input parameter for an element.
TYPEtype Sets or retrieves the content type of the resource designated by the value attribute.
VALUEvalue Sets or retrieves the value of an input parameter for an element.
VALUETYPEvalueType Sets or retrieves the data type of the value attribute.

Remarks

The PARAM element is valid within the APPLET, EMBED, and OBJECT elements.

Note  Properties set by a PARAM element cannot be altered by changing the PARAM object.

After the APPLET, EMBED, or OBJECT element is instantiated, the property set by the PARAM element cannot be changed with the param object. To change the object's properties, use the script properties exposed by the object.

This element is not rendered.

This element does not require a closing tag.

Example

This example displays the Windows Internet Explorer Data Binding component's outerHTML so you can view the properties assigned by the PARAM elements. You can perform this check to gather information when debugging an OBJECT element's properties. You cannot edit the object's outerHTML property without reintializing the outerHTML object.


// The OBJECT CLASSID below is for the 
// Microsoft Internet Explorer Data Binding component

// Use just the following HTML and press the button
<OBJECT                 
 ID=tdcContents
 CLASSID="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83">
  <PARAM NAME="DataURL" VALUE="DataBinding.csv">								  
</OBJECT>
<BUTTON >
Show Object outerHTML</BUTTON><BR/>
<TEXTAREA ID="oTxt"  STYLE="height:400; width:450;padding:3; overflow=auto;"> </TEXTAREA>



//When the button is pressed the complete list of the object's
// PARAM elements display unformatted in the TEXTAREA as follows:
 
<OBJECT id=tdcContents classid=clsid:333C7BC4-460F-11D0-BC04-0080C7055A83>
<PARAM NAME="RowDelim" VALUE="&#10;"><PARAM NAME="FieldDelim" VALUE=",">
<PARAM NAME="TextQualifier" VALUE='"'><PARAM NAME="EscapeChar" VALUE="">
<PARAM NAME="UseHeader" VALUE="0"><PARAM NAME="SortAscending" VALUE="-1">
<PARAM NAME="SortColumn" VALUE=""><PARAM NAME="FilterValue" VALUE="">
<PARAM NAME="FilterCriterion" VALUE="??"><PARAM NAME="FilterColumn" VALUE="">
<PARAM NAME="CharSet" VALUE=""><PARAM NAME="Language" VALUE="">
<PARAM NAME="CaseSensitive" VALUE="-1"><PARAM NAME="Sort" VALUE="">
<PARAM NAME="Filter" VALUE=""><PARAM NAME="AppendData" VALUE="0">
<PARAM NAME="DataURL" VALUE="DataBinding.csv">
<PARAM NAME="ReadyState" VALUE="4">
</OBJECT>
                

Standards Information

This object is defined in HTML 4.0 World Wide Web link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 World Wide Web link.

Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG