I would like to call a javascript function that displays a menu, on right mouse clicking on the editable fields in the jsp page.(input fields) I use JSF components.
You write it the exact same way if you weren't using JSF, in the tag add an on click="myjavascriptfunction", or something like that, I don't have the "on click" attributes memorized.
Originally posted by Aparna Ram: But doesn't the onclick attribute refer to teh left mouse click? I would want one for right mouse click.
Read the last part of my post, I wrote, I don't have them memorized, so left right mouse click no different to me in my head, they are just different attributes, I used on click because that is the only one in my head I can remember, but of course it is not for right clicking. But it doesn't matter that you are using JSF because it is not related.