call applet method with javascript
my html - code:
<APPLET NAME="Mail" ... ... ></APPLET>
<form action="javascript:document.applets("Mail").test("Execute JAVA Applet Function")">
<input type="submit" value="Execute Applet Function">
</form>
my applet code:
public void test(String t)
{System.out.println("executing test()");
teststr = t;
repaint();
}
in the paint() method i draw the teststr with Graphics.drawString - but nothing happens...
any suggestions?
thx

