Object.watch() (Method)

A means of establishing a call back when a property value changes.

Availability:

JavaScript - 1.2
Netscape - 4.0
Netscape Enterprise Server - 3.0
JavaScript syntax:NmyObject.watch()

This is inherited by most object classes in Netscape.

Warnings:

Example code:

   <HTML>
   <HEAD></HEAD>
   <BODY>
   <SCRIPT>
   document.watch("myVariable", alert("Watch point triggered"))
   document.myVariable = 100;
   </SCRIPT>
   </BODY>
   </HTML>

See also:Object.assign(), Object.unwatch(), unwatch(), watch()