Hi,
The applet can be accessed using the following reference
document.applets["MyApplet"].property
[or]
document.applets[0].property
this will work both in IE and netscape 3+ versions.
> Hey All,
>
> I've been coding a JApplet and used the object/embed tag, the problem is
> now I'm trying to access a property in my applet to pass on into another
> jsp page. But when using javascript, it can't access an attribute in
the
> applet. I'm using document.MyApplet.Attribute and it doesn't seem to be
> working, I've created a simple html button to retrieve what the value,
but
> when clicked, it only returns "undefined".
>
> Does anyone know how to access the properties of a java application via
> javascript in IE and Netscape?
>
> Thanks for any help!
>
> Have a great one!
>
> Steven