Client-side object | |
Implemented in | Navigator 3.0: |
APPLET
tag. The JavaScript runtime engine creates an Applet
object corresponding to each applet in your document. It puts these objects in an array in the document.applets
property. You access an Applet
object by indexing this array.MAYSCRIPT
attribute of the APPLET
tag. This prevents an applet from accessing JavaScript on a page without the knowledge of the page author. For example, to allow the musicPicker.class
applet access to JavaScript on your page, specify the following:<APPLET CODE="musicPicker.class" WIDTH=200 HEIGHT=35Accessing JavaScript when the
NAME="musicApp" MAYSCRIPT>
MAYSCRIPT
attribute is not specified results in an exception.For more information on using applets, see the JavaScript Guide.
Applet
object.musicApp
:<APPLET CODE="musicSelect.class" WIDTH=200 HEIGHT=35For more examples, see the JavaScript Guide.
NAME="musicApp" MAYSCRIPT>
</APPLET>
MimeType
, Plugin
Last Updated: 10/31/97 12:31:11