All Tech Tips

PARAM Element | param Object

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

Members Table

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.
TYPE  type 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.
VALUETYPE  valueType 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 available in HTML as of Internet Explorer 3.0.

This element is not rendered.

This element does not require a closing tag.

Example

This example displays the 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 onclick="oTxt.value=tdcContents.outerHTML">
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  and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .



Copyright © 2006 alltechtips.com. All rights reserved.

This website and the materials and information you find on this website are provided "as is", without warranty of any kind, either express or implied, including without limitation any warranty for information, services, or products provided through or in connection with the service and any implied warranties of merchantability, fitness for a particular purpose, expectation of privacy or non-infringement.
Advertising
health | home | ip address | golf courses | recipes | flooring | rubber flooring | cd duplication | schools