Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java thread: Java Applet and JavaScript


Message #1 by StevenLeija@h... on Mon, 30 Apr 2001 20:49:57
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 

  Return to Index