onPropertyChange (Event handler)

Called when a property belonging to the receiving object is changed.

Availability:

JScript - 5.0
Internet Explorer - 5.0
JavaScript syntax:IEmyObject.onpropertychange = aHandler

This is part of the property monitoring facilities. It can be used as an alternative to the watch()/unwatch() facilities in Netscape.

When this event is triggered, the handler can inspect the Event object to determine what property was changed and on what object.

The object affected is returned in the srcElement property and the property in its propertyName property.

See also:Event, Event handler, Event model, Event names, Event object, Event.propertyName, Event.returnValue, Event.srcElement, Handler, Semantic event, unwatch(), watch()