Can anyone help with the wrong one in the code below (based on answers to a similar question asked on SO):
public String javaMethod(String input) { return "it works"; } public native void defineBridgeMethod() ;
The problem is that Javascript does not find jsFunction: alert (jsFunction) in Javascript code returns 'undefined'.
Thanks.
Edit: Ha, after an hour: it turned out that I just needed to return that.@com... !
source share