友情提示
- </head>
<body onbeforeunload="javascript:go();" onload="toBreakWord(5); document.getElementById('TextBox1').focus()">
<script>
function go()
{
event.returnValue = "确定要离开吗?";
}
</script>
</body> - document.getElementById('TextBox1').focus()" --光标停放位置