Как присвоить событие картинке на canvas?
<!DOCTYPE html>
<html>
<head>
<title></title>
<script>
function go() {
var canvas = document.getElementById("canvas"),
c = canvas.getContext("2d"),
w = canvas.width,
h = canvas.height;
c.beginPath();
c.arc(w/2, h/2, 30, 0, 2 * Math.PI, false);
c.lineWidth = 3;
c.strokeStyle = "#000";
c.fillStyle = "#eee";
c.stroke();
c.fill();
c.closePath();
}
</script>
</head>
<body onload="go()">
<canvas id="canvas" width="100" height="100"></canvas>
</body>
</html>