方法一:return false (在定义的事件回调函数的后面加上这句代码)
方法二:event. stopPropagation()
方法三:event. preventDefault() (在Chrome浏览器中,失效了)