Applet.alt (Property)

The alternative text to be used instead of the applet block in case the applet fails to load or for use as a tool-tip text..


DOM level - 1
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myApplet.alt

If a browser loads a document containing an applet and discovers that it is unable to load the applet, this text value of this property will be displayed in the space where the applet was supposed to have been loaded.

The use of this property is somewhat problematical in some browsers and completely unsupported in others.

Setting this property from a script is unlikely to be very useful, as the script is probably going to be called after the applet has failed to load.