Get Text Index
Posted: Fri Nov 12, 2010 1:26 pm
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!
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!