如何在使用GWT加载DOM后加载并运行整个外部js文件
我想在加载DOM后加载并运行一个外部js文件,外部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
<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?
}