Previous Example-|-Next Example-|-Return to Chapter Listing
Example 13.9
Is Java Enabled? Using navigator.javaEnabled
[This example works with Netscape Navigator 3 and 4. (Though not with all of the preview release of Navigator 4; in 4b3, for instance, navigator.javaEnabled() always returns true, regardless of the browser's actual condition.) It will not work in Internet Explorer 3.]
This page uses the navigator.javaEnabled() method to see if your browser is Java-enabled. If it is, you'll see the earlier Java example. If not, you'll see an alert box.
Welcome to Tickets Online!
Kludge Kowboys in Concert, only $50.00 per ticket.
Please enter number of tickets desired:
|
We have this in the HEAD:
Then this form in the BODY:
Kludge Kowboys in Concert, only $50.00 per ticket.
Please enter number of tickets desired:
|
Previous Example-|-Next Example-|-Return to Chapter Listing