Hi guys,

Does anybody know if it is possible (using JavaScript or Ajax I'd assume) for parameters to be taken from text highlighted by a user?

For example if the sentence "all work and no play makes Jack a dull boy" is displayed on the page -> if the user highlights the words "no play", 13 and 19 are the parameters extracted (the range of the string selected), so the page "knows" which parts of a string were highlighted?

Any help would be greatly appreciated!

Thank you.