摘要:
$("a").click(function(event){ event.preventDefault();});event.preventDefault();方法阻止元素发生默认的行为(例如,当点击提交按钮时阻止对表单的提交)。 阅读全文
摘要:
$("a").click(function(event){ event.preventDefault();});event.preventDefault();方法阻止元素发生默认的行为(例如,当点击提交按钮时阻止对表单的提交)。 阅读全文
|