Table 10-5 support HTML elements bound to data
HTML element
Bind attributes
More?
New data
Table?
Lattice binding
Can it be used
HTML display
A
Href
Not allowed
Not allowed
Not allowed
APPLET
PARAM
Yes
Not allowed
Not allowed
BUTTON
InnerText and innerHTML
Not allowed
Not allowed
Yes
DIV
InnerText and innerHTML
Not allowed
Not allowed
Yes
FRAME
Src
Not allowed
Not allowed
Not allowed
IFRAME
Src
Not allowed
Not allowed
Not allowed
IMG
Src
Not allowed
Not allowed
Not allowed
INPUT
Checked
Yes
Not allowed
Not allowed
TYPE = CHECKOBX INPUT
Value
Yes
Not allowed
Not allowed
TYPE = HIDDEN INPUT
Vale
Yes
Not allowed
Not allowed
TYPE = LABEL INPUT
Value
Yes
Not allowed
Not allowed
TYPE = PASSWORD INPUT
Checked
Yes
Not allowed
Not allowed
TYPE = RADIO INPUT
Value
Yes
Not allowed
Not allowed
TYPE = TEXT LABEL
InnerText and innerHTML
Not allowed
Not allowed
Yes
LEGEND
InnerText and innerHTML
Not allowed
Not allowed
Not allowed
MARQUEE
InnerText and innerHTML
Not allowed
Not allowed
Yes
OBJECT
Param
Yes
Not allowed
Not allowed
SELECT
Selected <OPTION> element text
Yes
Not allowed
Not allowed
SPAN
InnerText and innerHTML
Not allowed
Not allowed
Yes
TABLE
None
Not allowed
Yes
Not allowed
TEXTAREA
Value
Yes
Not allowed
Not allowed
2. Bind a single record
Binding a single record is used to display only a single row of data. For example, consider the following code:
ID: <span datasrc = "# dsoData" dataworkflow = "au_id"> </SPAN> <BR>
First Name: <span datasrc = "# dsoData" dataworkflow = "au_fname"> </SPAN> <BR>
Last Name: <span datasrc = "# dsoData" dataworkflow = "au_lname"> </SPAN> <BR>
Phone: <span datasrc = "# dsoData" Dataworks = "phone"> </SPAN> <BR>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service