1. Home
  2. Computing & Technology
  3. JavaScript

Unwatch

By Stephen Chapman, About.com

Definition: The unwatch method is available to all Javascript objects. It is used to remove a watch point to a property of that object that was previously added using the watch method. A watchpoint monitors the property and can manipulate the value of the property if required. This is not a reserved word so you can declare your own variable or function called unwatch but if you do then you will not be able to use the method.
Examples: myfield.unwatch(property1);

Explore JavaScript

More from About.com

  1. Home
  2. Computing & Technology
  3. JavaScript

©2008 About.com, a part of The New York Times Company.

All rights reserved.