GoNext $("a").click(function(){
window.location.href = "xxx.html";
})
The code is as above. Under IE, especially in IE6, after clicking the hyperlink, the browser does not jump.
The reason may be the event behavior blocked by javascript:void(0) in href. The solution is as follows:
1. Add return false to the onclick event to prevent bubbling:
$("a").click(function(){
window.location.href = "xxx.html";
reutrn false;
})
2. Delay 100 milliseconds
$("a").click(function(){
setTimeout(function(){
window.location.href = "xxx.html";
},100);
})