3
<title>simple applet test</title>
6
A simple applet (without display) with a method called doIt(String message) that shows "Called: doIt(#message#)" in the status bar of the window.
8
archive='simpleAppletDoIt.jar'
9
code='net.sourceforge.htmlunit.testapplets.AppletDoIt'
10
width='50' height='50'>
11
Your browser does not support the applet tag.
14
<button onclick="document.applets[0].doIt('hello')" id="button1">call applet's doIt('hello')</button>
15
<button onclick="document.applets[0].doIt(12345)" id="button2">call applet's doIt(12345)</button>