asp.net.ph

Skip Navigation Links

text Property

TextRange Properties   DHTML Object Properties


Sets or retrieves the text contained within the range.

Syntax


HTML N/A
Script TextRange.text [ = sTxt ]

Possible Values


sTxt String specifying the contained text.

The property is read/write with no default value.

Remarks

The text is formatted within the current context of the document. This property cannot be set while the document is loading. Wait for the onload event before attempting to set this property.

This feature might not be available on non-Win32® platforms. See article in the Microsoft Knowledge Base for the latest information on Microsoft® Internet Explorer® cross-platform compatibility.

Applies To

TextRange



>

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note