0 Replies Latest reply on Jan 21, 2008 10:29 AM by Casey Boyd

    A4J Gurus....How would you get the selected text out of an h

    Casey Boyd Novice

      I need to build a very basic rich text editor with my own rules...

      How would you try to get the text a user has highlighted in an text area, modify it, and then add it back to the text area?

      Right now, I am trying to grab the highlighted text in JavaScript, set that value to a backing bean which goes through and does the changes to the text area.

      The Text Area would then be reRendered to show the changes...

      Is this a practical was of doing this? Or is there a better way?

      Thanks

      Indy