Name

javaEnabled( ) — NN 3 IE 4 DOM n/a

Synopsis

Returns whether Java is turned on in the browser. This property won’t help you in a non-scriptable browser (or scriptable browser that doesn’t support the property), but it does tell you whether the user has Java turned off in the browser preferences.

Returned Value

Boolean value: true | false.

Parameters

None.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.