Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Java Applet Help


Message #1 by "Van Minh Kieu" <minh@m...> on Mon, 10 Jul 2000 13:21:37 +0100
This is a multi-part message in MIME format.

------=_NextPart_000_0034_01BFEA71.C6614250
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I need help.

I was working with Java Applet and JavaScript which call a public method 
Add(str).
This works when I have the tag <applet>. e.g. 
onClick=3D"document.myApplet.add(strCon)"
But when I use Java2, I have to use HTMLConverter which point me to 
java-plug-in...however, the tag now convert to <object> and the browser 
said this object has no properties.

Have anyone experience this problem could guide my to the right syntax.

I try serveral:
onClick=3D"document.myApplet.add(strCon)"
onClick=3D"myApplet.add(strCon)"
onClick=3D"document.embed[0].add(strCon)"
onClick=3Ddocument.applets["myApplet"].add(strCon)
all the above fail.



  Return to Index