Firefox select text range

Posted by Juriy on Stack Overflow See other posts from Stack Overflow or by Juriy
Published on 2010-05-11T18:58:00Z Indexed on 2010/05/11 20:24 UTC
Read the original article Hit count: 265

Filed under:
|

Hello guys,

A quick question: how do I programatically select the text fragment of the page in FireFox? For example, there's a paragraph of text, user clicks the button and symbols from 10-th to 15-th are selected as if user dragged a mouse in a regular way.

© Stack Overflow or respective owner

Related posts about firefox

Related posts about JavaScript