<a href='"确实要删除该贴吗?"))location="http://www.baidu.com"'>删除</a> <a href="http://www.baidu.com" confirm('您确实要删除吗?')">删除</a>