Is it possible to build a custom context menu similar to Googles Chrome for a textarea? What I need is the ability for the end user to copy,paste and also select some text and then right click and have the menu say “Process selected text “the text selected”” and when the end user clicks on that item a javascript functions fires to send the selected text to a web service. I’ve added a listener the capture the selected text in a textarea and have attached a button with an onclick event but I would like to move this all to a right click event and not lose the ability to cut and paste . Is this possible?