==>就是body onload的另一种写法
例:
<html>
<head>
<script language="JavaScript" for="window" event="onload">
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
即为window得onload事件指定函数
相当于
window.οnlοad=function(){var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
}