I have a contextual menu associated with a tabstrip.
Here's the menu handler:
I must mention that the tabstrip is built dynamically, so the text is variable.
The above code works fine unless the text contains an ampersand (I suspect other special characters may cause issues as well).
I tried using findItemByValue(args.get_targetElement().value), but that did not work either.