wrote:
> There is s function in mozilla called setSelectionRange where you set a
> start point and an end point for text to be highlighted in an input
> box. Is there a getSelection range that can tell me the character
> position that a user highlights in mozilla?
No, but text controls have properties
selectionStart
selectionEnd
that your script can read.
--
Martin Honnen
http://JavaScript.FAQTs.com/