最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

DATASRC Attribute | dataSrc Property

Internet Development Index

Sets or retrieves the source of the data for data binding.

Syntax

HTML<ELEMENT DATASRC = sID... >
Scriptingobject.dataSrc [ = sID ]

Possible Values

sIDString that specifies or receives the identifier of the data source.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

Tabular and single-valued data consumers use the dataSrc property to specify a binding. The property takes a string that corresponds to the unique identifier of a data source object (DSO) on the page. The string must be prefixed by a number sign (#).

When the dataSrc property is applied to a tabular data consumer, the entire data set is repeated by the consuming elements.

When the dataSrc property is applied to a table, any contained single-valued consumer objects that specify a dataFld property are repeated for each record in the supplied data set. To complete the binding, the binding agent interrogates the enclosing table for its data source. A tabular data consumer contained within another tabular data consumer (table) must specify an explicit dataSrc.

Example

In this example, a text box is bound to the customer_name field of a data source object with an ID of "customer". Because the text box is located within a data-bound table, the text box is repeated to display each of the records provided by the data source.

<TABLE DATASRC="#customer">
<TR><TD><INPUT TYPE=TEXTBOX DATAFLD="customer_name"><TD><TR>
</TABLE>

Standards Information

There is no public standard that applies to this property.

Applies To

A, APPLET, BUTTON, DIV, FRAME, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=text, LABEL, MARQUEE, SELECT, SPAN, TABLE, TEXTAREA

See Also

Introduction to Data Binding
丹巴县| 铁岭市| 信宜市| 随州市| 宣化县| 南京市| 图木舒克市| 连州市| 若尔盖县| 苏州市| 临桂县| 阿鲁科尔沁旗| 绥滨县| 鄂托克旗| 吕梁市| 临沭县| 漾濞| 邹城市| 夏河县| 罗定市| 红桥区| 沾化县| 柘荣县| 卢龙县| 龙胜| 嘉兴市| 苏尼特右旗| 墨竹工卡县| 图木舒克市| 佛冈县| 新宁县| 阿拉尔市| 卢龙县| 霸州市| 桃源县| 塔河县| 永善县| 阜城县| 沙湾县| 枞阳县| 胶南市|