Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jun 2006
    Posts
    225
    Thanks
    6
    Thanked 3 Times in 3 Posts

    Call Javascript function from Java applet

    Is it possible to call a Javascript function from a Java applet in a cross-browser fashion? I know that Javascript can call Java methods, but can it be done in the reverse? The only other solution I can think of, which is far from ideal, is querying the Java applet at intervals and return a Boolean indicating whether to perform the function.

  • #2
    Regular Coder Aradon's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    734
    Thanks
    0
    Thanked 20 Times in 19 Posts
    There is an article on just how to do this here:

    link

    Sun talks about this a little as well here:

    Sun Link
    "To iterate is human, to recurse divine." -L. Peter Deutsch


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •