The observes attribute can be used to listen to a broadcaster and receive events and attributes from it. The observes attribute should be placed inside the element that wants to observe the broadcaster.
Attributes:
Attributes inherited from XUL Element
The attribute that the observer is observing. When the value of the attribute changes, the broadcast event is called on the observer.
The id of the broadcaster element that the observer is observing.