This project is archived and is in readonly mode.

#214 ✓resolved
csuwldcat

Doc example contains errant, non-existant method

Reported by csuwldcat | December 15th, 2009 @ 04:29 AM

http://mootools.net/docs/more/Element/Element.Forms#Element:getSele...


Element Method: getSelectedRange

Returns the range of what is selected within the element.
Syntax

$('myInput').getSelectionRange(); Should be .getSelectedRange() as the method title says

Returns

* (object) start and end values (each an integer).

Example return

{start: 2, end: 12}


Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The MooTools Extensions

People watching this ticket

Pages