I want to create a menu for right click on a text box and upon clicking on that option I should be able to call a js function. How should I do it? Can anybody please help me? My code for the text box is:
<g:textField size="40" name="txtBoxId" id="txtBoxId" title="" value="${session.circuitName}" readonly="true"/>