<
script type
=
"
text/javascript
"
language
=
"
javascript
"
>
function closeWinform()
{
if(window.event.clientX>document.body.clientWidth&& window.event.clientY<0 || window.event.altKey)
{
document.all("Button1").click();
}
}
</ script >
BODY 的 UNLOAD和onbeforeunload事件会在浏览器
function closeWinform()
{
if(window.event.clientX>document.body.clientWidth&& window.event.clientY<0 || window.event.altKey)
{
document.all("Button1").click();
}
}
</ script >