Get Text Index

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Alpha_4762
Forum Newbie
Posts: 2
Joined: Fri Mar 12, 2010 3:35 pm

Get Text Index

Post by Alpha_4762 »

Help!

How can I get the start & end index of a selected text.

What I want to do is highlight/select a phrase then add a tag on it then save it to the database. So that when I go to the link of the tag it points to the selected phrase with color/bold font.

Thanks!
Post Reply