A browser incompatibility issue encountered in the project:
It works fine under IE and Firefox to directly call the js function of the child window using the name of the child window in the parent window of the ifame frame page, but not under Chrome. Works well.
In IE and Firefox you can write like this:
function changeMenu(menu_id){
header.window.changeMenu( menu_id);
}
or:
function changeMenu(menu_id){
frames[0].changeMenu(menu_id);
}
can be used,
in Chrome Only the second way of writing can be used, so when you need to consider the compatibility issues of multiple browsers, you should use the second way of writing.