javascript selection getRangeAt( )
| getRangeAt( ) | NN 6 IE n/a DOM n/a |
|
getRangeAt(rangeIndex) |
|
|
Returns a reference to the range within a selection object whose zero-based numeric index matches the passed parameter. For contiguous selections, the parameter should be zero. But for discontiguous selections, the getRangeAt( ) method lets you retrieve each range that had been added to the selection for individual manipulation as a Range object. Use the selection.rangeCount property to derive the number of Range objects contained by the selection object. Invoking the method does not disturb the sequence of ranges within the selection. |
|
| Parameters | |
|
|
| Returned Value | |

How did you get such high pagerank? Is this site all about SEO? How about making it more useful, then you'd get return visits from developers, because they'd find the information more useful.
Sorry for the hubris, but it's true. If I have to go and search your site again and again to find things that, in this day and age, should be linked to, then it's not of value.
Thanks for reading.