Click to See Complete Forum and Search --> : Can I obtain the currently selected (highlighted) text?


slintz
07-13-2003, 10:47 AM
It would be useful (say, for a dictionary / thesaurus lookup) if I could obtain a string of the currently selected (highlighted) text. This would be the same text as would be available to paste, if it were copied. This would allow me to create a button on my navigation window that obtains the “word in question” from the view window, and then uses it to create an URL?query to show in a definition window.

Can this be done, and how? - 15 points :p


Enjoy!
-Stevel

Khalid Ali
07-13-2003, 11:51 AM
take look at hte link below it might help you....

http://68.145.35.86/skills/javascripts/SelectAnyWordOnThePage.html