62,271
社区成员
发帖
与我相关
我的任务
分享
<a href="http://www.google.com" onclick="return confirm('...')">Go</a>
<a href="http://www.google.com" id="a1">Go</a>
document.getElementById('a1').onclick = function(e){
if(!confirm('...')){
e.preventDefault();
return false;
}
}