Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/gwt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在使用GWT加载DOM后加载并运行整个外部js文件_Gwt - Fatal编程技术网

如何在使用GWT加载DOM后加载并运行整个外部js文件

如何在使用GWT加载DOM后加载并运行整个外部js文件,gwt,Gwt,我想在加载DOM后加载并运行一个外部js文件,外部js文件如下: <script type="text/javascript" src="http://example.com/example.js"></script> 谢谢看一看,别忘了() @Override protected void onLoad() { super.onLoad(); //how to load and run the whole js fil

我想在加载DOM后加载并运行一个外部js文件,外部js文件如下:

<script type="text/javascript" src="http://example.com/example.js"></script>
谢谢

看一看,别忘了

 @Override
    protected void onLoad()
    {
        super.onLoad();
        //how to load and run the whole js file?
    }