Illusion Posted January 21, 2008 Share Posted January 21, 2008 Hi All, I have a small query on, I want to select a text on html page using mouse. when i click a button , the selected text should get highlighted. and it should return the position(start and end position) of the highlighted text Kindly send out your reponses to this post at the earliest. Thanks in advance. Regards Mahz Link to comment https://forums.phpfreaks.com/topic/87027-how-to-get-the-position-of-highlighted-text-in-a-html-page-using-javascript/ Share on other sites More sharing options...
phpQuestioner Posted January 21, 2008 Share Posted January 21, 2008 Try some of these search results; I think they will help you get started: http://www.google.com/search?hl=en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=copy+text+to+clipboard&spell=1 Link to comment https://forums.phpfreaks.com/topic/87027-how-to-get-the-position-of-highlighted-text-in-a-html-page-using-javascript/#findComment-445040 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.