TinyMCE has a nice function that does this: getSelectedHTML()
Try looking here: http://www.google.ca/codesearch?q=getSelectedHTML On Jul 31, 12:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Is there a way utilizing prototype or any generic javascript to get > the highlighted text a user select with their cursor, no matter where > they are on that page? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
