S
STB
Hi,
Can you pick out just the text that a user has selected in a TextArea using
JS?
Can you pick out just the text that a user has selected in a TextArea using
JS?
Can you pick out just the text that a user has selected in a TextArea using
JS?
Martin Honnen said:STB wrote:
It depends on whether the browser offers an API, some like Netscape
7.1/7.2, Mozilla 1.4 or later, Firefox do with
textControl.value.substring(textControl.selectionStart,
textControl.selectionEnd)
and IE/Win also does
document.selection.createRange().text
others like Opera don't offer an API.
STB said:Hi,
Can you pick out just the text that a user has selected in a TextArea using
JS?
lawrence said:news:<[email protected]>...
http://groups.google.com/groups?hl=...om&hl=en&lr=&ie=UTF-8&scoring=d&start=10&sa=NWe were recently discussing the issue here:
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.