toString method

Returns the contents of a Range as a string. This string contains only the data characters, no markup.

Document Object Model (DOM) Level 2 Traversal and Range Specification, Section 2.13Internet Explorer 9

 

Syntax

var sRange = Range.toString();

Parameters

sRange [out, retval]

Type: DOMString

A Range expressed as a string.

Return value

Type: DOMString

A Range expressed as a string.

Standards information

See also

Range

 

 

Show: