<head>
...
<script language="javascript" for="window" event="onload">
document_onload();
</script>
</head>
<body onload="Init();">
我想知道为什么不把document_onload()方法中的内容写到Init()方法里面呢?
在调试的时候当前窗体在加载的时候是先运行Init()方法,运行完后再运行document_onload()方法,最后才是web窗体加载成功
...
<script language="javascript" for="window" event="onload">
document_onload();
</script>
</head>
<body onload="Init();">
我想知道为什么不把document_onload()方法中的内容写到Init()方法里面呢?
在调试的时候当前窗体在加载的时候是先运行Init()方法,运行完后再运行document_onload()方法,最后才是web窗体加载成功
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货