Pulpcore and Javascript to Java Applet communication
问题 I have a problem using Pulpcore Java framework. I tried to call Java function from JavaScript on the page with applet. The applet is correctly embedded on the page (pulpcore generated the code). The JavaScript code is: $(document).ready(function() { var self = $("#pulpcore_object")[0]; self.show2(); }); I even debugged this code and it gets applet from DOM correctly, but then there is this JavaScript error: Uncaught exception: TypeError: 'self.show2' is not a function which makes me little