在W3C中,使用preventDefault()方法; 在IE中,使用window.event.returnValue = false。 转载于:https://www.cnblogs.com/YYvam1288/p/7144808.html