I have a canvas and I display an image inside it. I attached a jquery event to it, for example:
$("#mycanvas").mousedown(function(e) {
I would expect this code to follow my steps and prevent the default browser behavior. The former is executed, but the latter, namely: the prevention of default behavior does not occur. The event is passing. I wonder how I could prevent this menu from showing, which you can see in the image by right-clicking:

source share