Javascript Can';t绑定&x27;轻触';事件到画布

Javascript Can';t绑定&x27;轻触';事件到画布,javascript,jquery,html,html5-canvas,Javascript,Jquery,Html,Html5 Canvas,试图在画布上点击,但什么也没发生。请问我做错了什么 <html> <head> <title>canvas tap</title> <script src="http://code.jquery.com/jquery-1.7.1.js"></script> <script type="text/javascript"> $(document).ready(function() { $('

试图在画布上点击,但什么也没发生。请问我做错了什么

<html>
<head>
<title>canvas tap</title>
<script src="http://code.jquery.com/jquery-1.7.1.js"></script>

<script type="text/javascript">
    $(document).ready(function() {
        $('#my_canvas').bind('tap', function() {
            alert("Canvas pressed!");
        });
    });
</script>

</head>
<body>

<div id="div1" style="width:auto;height:auto;background-color:yellow">
    <canvas id="#my_canvas" width="200" height="200"></canvas>
</div>

</body>
</html>

帆布水龙头
$(文档).ready(函数(){
$(“#我的画布”).bind('tap',function(){
警告(“画布已按下!”);
});
});

谢谢

点击事件由定义,而您只包括普通jQuery。

在(标准)jQuery中是否有“点击”事件?我不这么认为。。。我会尝试用“点击”来代替