How to highlight (change background color) of selected text within a text area

Discussion in 'Javascript' started by omidalavi@yahoo.com, Sep 23, 2005.

  1. Guest

    I want to create a functionality to be able to highlight - change
    background color - of selected text in a text area. I also want to
    capture all of the selected text for further processing.

    If this is not possible in a textarea, then I use another element (like
    a <DIV>)

    basically I need to ba able to highlight multiple sections of a text
    and then display all of the highlighted text somewhere else.
     
    , Sep 23, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. UJ
    Replies:
    1
    Views:
    281
    Olaf Rabbachin
    Nov 1, 2006
  2. Todd
    Replies:
    3
    Views:
    716
    Michael Jung
    Aug 30, 2007
  3. Karen Grube
    Replies:
    7
    Views:
    1,315
  4. Replies:
    7
    Views:
    380
    Mick White
    Feb 2, 2005
  5. libsfan01
    Replies:
    2
    Views:
    107
    Hal Rosser
    Apr 14, 2006
Loading...

Share This Page