"Roberto Gallo" <> wrote in message
news:bu9fit$h4g$...
> Hi again. Thank you for previews answers.
>
> I have another question.... How can I inform a Javascipt, that must
> submit my Applet's data, that this same Applet has produced the data in
> question?
> Or in other words, is there any way to call a JavaScript junction
within
> the Applet? Is it the best way?
> What do you suggest?
>
> Thank you very much again,
>
> Roberto Gallo.
>
>
>
>
Hello Robert,
You need a Netscape JAR file name java40.jar to compile the next code but
when running in a browser the referred classes are supplied by the
environment.
public Object callJS(String jsCode)
{
JSObject window = JSObject.getWindow(appletInstance);
window.eval(jsCode);
}
Regards,
Silvio Bierman
|