[thelist] Java and Javascript interaction

raditha dissanayake jabber at raditha.com
Mon Feb 13 01:47:36 CST 2006


Hello,

Danny King wrote:

>Hi,
>
>I need a way to pass a string from a Java applet to some Javascript. Searching 
>through google has lead me to understand that the Netscape LiveConnect api 
>can achieve this, but I'm having little success with it.
>
>Has anyone any idea on current browser support for LiveConnect? (FF, IE6, 
>Opera, Safari, Konqueror?) Is this the best way to go?
>
>Does anyone know of a better method that is cross-browser friendly that will 
>enable me to pass Java string to a javascript string?
>  
>
Let me come out of months of lurking with a shameless plug:

http://www.raditha.com/java/javascript.php

here you will find how to call javascripts from your applet and how to 
call methods in your applet from your javascript.

brgds





More information about the thelist mailing list