I have a function Load() in a js file which I added to the GWT module.
I am trying to call it using
private static native void load() /*-{
$doc.Load();
}-*/;
but it gives me error like
Error(s) occurred! (TypeError): $doc.Load is not a function fileName: http://localhost:8888/myapp/888C05FB242806B071A932498F6B5AD9.cache.html lineNumber: 1224
I even tried with $wnd.Load()
What the proper way of calling it?