开发者

richTextArea.setHTML() function calling throgh anchor tag

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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜