
January 16th, 2002, 08:18 AM
|
|
Junior Member
|
|
Join Date: Jan 2002
Location: Stuttgart, Germany
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Starting an applet - method with Javascript
I want to start a method of a JAVA applet using Javascript. It works fine for the APPLET tag (see below), but it doesn't work for the OBJECT (IE) or the EMBED (NN) tag.
<html>
<body>
<applet name="anApplet" code="anApplet.class">
</applet>
<script language="JavaScript">
document.anApplet.setText('SomeText')
</script>
</body>
</html>
Is something similar possible with the OBJECT and EMBED tag and how? Thanks in advance.
|