cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Right-click event for applet

Former Member
0 Likes
159

Hi,

I have a requirement in which I need to perform a function on either a right-click or key-press on an applet. I was not able to get any standard applet event through which I could achieve this. Is there any other workaround using html/javascript for this? Can anybody please help me out?

Accepted Solutions (1)

Accepted Solutions (1)

jcgood25
Active Contributor
0 Likes

There are no right-click event listeners in the applet that you can script against. What are you really trying to accomplish through this?

Regards,

Jeremy Good

Answers (2)

Answers (2)

Former Member
0 Likes

Hi,

Thanks for your replies, Jeremy and Rick. But I actually wanted to avoid the use of HTML buttons for performing this function. My requirement is that I have an ibrowser with multiple selection and after selecting the required items from the list, I need to paste them into a textarea by doing a right-click or on a keypress. I tried putting the applet into a span tag and performing the function on keypress, but it doesnt work!

Former Member
0 Likes

Hi, Amrita.

It would probably be easier to simply place an HTML button above, below, or next to the applet to perform/trigger your function.

- Rick