是啥意思啊
<script type="text/javascript">
? ? //this指向button元素
? ? $("button:eq(0)"). ?$("button:eq(0)").mousedown(function(e) {
? ? ? ? alert('e.which: ' + e.which)
? ? })(function(e) {
? ? ? ? alert('e.which: ' + e.which)
? ? })
? ? </script>
啥意思
<script type="text/javascript">
? ? //this指向button元素
? ? $("button:eq(0)"). ?$("button:eq(0)").mousedown(function(e) {
? ? ? ? alert('e.which: ' + e.which)
? ? })(function(e) {
? ? ? ? alert('e.which: ' + e.which)
? ? })
? ? </script>
啥意思
2018-03-05
舉報
2018-03-06
不就是第一個按鈕按下響應(yīng)的事件吧
2018-03-06
function(e) {
? ? ? ? alert('e.which: ' + e.which)
? ? })
這多寫了吧