阅读背景:

如何将onload事件添加到窗口

来源:互联网 

My code is,

我的代码是,

<html>
    <head>
       <title>onclick test</title>
       <script type="text/javascript">
           var googleWindow = window.open('https://www.google.com');
           window.onload = change;
           function change(){
            alert('Hello');
           }
        </script>
</html>
<html>
    <head>
      



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: