This attribute allows a Java applet to access JavaScript. If an applet attempts to access JavaScript when the mayscript attribute is not specified, the browser generates an exception (for example, netscape.javascript.JSException: MAYSCRIPT is not enabled for this applet).
Themayscript attribute does not take a value such as true or false.
Example
<applet name="IBM3270" code="com.wrq.rweb.Launcher.class" width="400" height="300" mayscript> </applet>