richTextArea.setHTML("<a href='#' onCli开发者_Go百科ck= MyFunc();>"+"Visit W3Schools.com!"+"</a>");
Call the java script function....
private native void MyFunc() /*-{
alert("dhd");
}-*/;
fun its not working
The Problem is that you have to use the reference to the object where you want to call the MyFunc()
!!!
so look at the GWT-SIte, there is described how to access the Functions!
精彩评论