[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Launching java applet from a JS function
I want to launch an applet when the user clicks on a button, i found
that solution although not elegant to do it.
The problem is that the Applet don't launch (i don't see the result)
but, btw the second instruction is working (self.close() ).
Why is this doesn't working, or, is there another way to do that ?
PS : This is my HTML code :
document.write("<APPLET CODE=\"yes.class\" WIDTH=1
<input type="button" value="mail" onclick="mail()">
<input type="button" value="close" onclick="self.close();return