onContextMenu (Event handler)

Called when a context menu is requested by the user.

Availability:

JScript - 5.0
Internet Explorer - 5.0
JavaScript syntax:IEmyObject.oncontextmenu = aHandler

Contextual menus can trigger this event as an item is selected. This allows you you to activate some context-specific code at that time.

See also:Event, Event handler, Event model, Event names, Event object, Event.returnValue, Handler, Semantic event