Get text selection in FireFox/Mozilla?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robert Oschler

    Get text selection in FireFox/Mozilla?

    Can anyone give me a Javascript snippet that will get the currently selected
    text in a TEXTAREA element? The code I have only works in IE.

    Thanks.


  • Robi

    #2
    Re: Get text selection in FireFox/Mozilla?

    Robert Oschler wrote in message news:_92dnR2qq8 xtYKjeRVn-jw@adelphia.com ...[color=blue]
    > Can anyone give me a Javascript snippet that will get the currently selected
    > text in a TEXTAREA element? The code I have only works in IE.[/color]

    like this?

    Comment

    Working...