look this,open a new window!you may try!<SCRIPT LANGUAGE=javascript> function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } <BODY LANGUAGE=javascript onunload="return MM_openBrWindow('exit.html','','scrollbars=yes,width=360,height=400')">
比如:当ie关闭,则会在数据库中写数据
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
<BODY LANGUAGE=javascript onunload="return MM_openBrWindow('exit.html','','scrollbars=yes,width=360,height=400')">