jQuery UI Widgets Forums Navigation Menu, Context Menu Custom items in Context Menu

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 1 year, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Custom items in Context Menu #102795

    morgenweck
    Participant

    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?

    Custom items in Context Menu #102826

    Martin
    Participant

    Hello morgenweck,

    Yes, this is possible.
    Please, take a look at the following Example.

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.