ZVON > References > DOM1 Reference

data (attribute)

Owning interface and usage:  
CharacterData.data

Member of these other interfaces :  
CDATASection, Comment, Text

Readonly:   no

Type:   DOMString

Description:  
The character data of the node that implements this interface.

Exception:  
DOMException NO_MODIFICATION_ALLOWED_ERR
This exception raises on setting when the node is readonly.
DOMException DOMSTRING_SIZE_ERR
This exception raises on retrieval when it would return more characters than fit in a DOMString variable on the implementation platform.


Example:
JavaScript:
  var txt = document.createTextNode('AAA-BBB');
  var output = txt.data;
Output:
desired your browser
AAA-BBB



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet




Related sites:
  • dotNet Slackers - Your latest resource for ASP.NET
  • Dotnet Spider - Outsourcing and Offshore software development in India
  • XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
  • Planet Source Code - The largest public source code database on the Internet
UNLIMITED Web Hosting by HostDepartment Alojamiento Web UK Domain Names glossary for conference call answering service
MSN VoIP Internettelefonie Hosted Exchange, SDSL VoIP Internettelefonie AT VoIP Internettelefonie DE