jQuery事件----preventDefault() 方法

preventDefault()方法阻止元素发生陌生的行为
例如:当点击提交按钮时阻止对表单的提交

e必须,规定阻止哪个事件的默认动作,这个e参数来自事件绑定函数。



Time:2015.07.30

猜你喜欢

转载自blog.csdn.net/sinat_36831355/article/details/81054544
今日推荐