Data Binding : SPAN Element

Description: You can use the SPAN tag to bind data directly into the text of the page. The content of the span is bound. The example shows two SPAN tags used to insert the company name and symbol for a stock into a paragraph of text. And, although not shown in the current record demo, spans can also display HTML when present in the data by adding the DATAFORMATAS attribute.

More Details
SPAN tags can also be used inside a repeated table. The demo also shows the span using the DATAFORMATAS attribute.

Browser/Platform Compatibility
Data binding is supported in Internet Explorer 4 and Internet Explorer 5.

Complete Article

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish