This page is Out of Date

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

createRange

Method of dom/Selectiondom/Selection

Syntax

var range = element.createRange();

Return Value

Returns an object of type DOM NodeDOM Node

The created TextRange instance object.

Attributions