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.13

Syntax

var sRange = Range.toString();

Parameters

This method has no parameters.

Return value

Type: DOMString

A Range expressed as a string.

Standards information

See also

Range

 

 

Show:
© 2014 Microsoft