JavaScript Bible, 2nd Edition Support Center


Corrections & Updates

These are corrections or changed information since the book went to press.

Updated Listings


Navigator 3.0 Scripting Notes

Here are some random things I've learned about JavaScript in Navigator 3.0x since the book went to press:

  1. window.closed property. I recently learned that Netscape had omitted documenting a window.closed property that returns a boolean value (true if the referenced window is closed). This is the answer to prayers (and ugly workarounds) to check whether a subwindow or main window is open before calling upon its resources.

  2. lastIndexOf() method. Apparently this method does not work on some or all Unix versions of Navigator 3.0. If you rely on this method, beware.