IE 6, JSP link problem:
function btnHome_onClick(){
window.open("com.mcl.common.main.InitHome.flow","mainFrame");
if(winoperate.style.display != "none") {
silde_onClick();
sildebar.style.display='none';
winoperate.style.display='none';
}
}
The above code will not have any response under IE6.
The reason is: void(0) is a calculation expression, and a result of returning 0 will not have any response to the page;
After the onClick event, the default event of a will also be triggered: void(0)
Solution: add return false;