解决方法
jsBin demo
$('a').click(function (e) { e.preventDefault(); // prevent default anchor behavior var goTo = this.getAttribute("href"); // store anchor href // do something while timeOut ticks ... setTimeout(function(){ window.location = goTo; },3000); });