15.5. Scripting
A bound tag looks like any other DOM object to JavaScript. Scripts originating from the bound side of the tag can act on the bound tag's object in a number of standard ways:
Properties can be invoked as methods, or assigned to, or read.
Properties can be added or set to null.
Properties that hold methods (Function objects) can be changed to user-defined methods.
Event handlers lodged with on… style attributes, or via the DOM 2 addEventListener() method, can override handlers in the binding.
DOM 1 interfaces can set and unset attributes on the bound tag.
DOM 1 interfaces can modify the final merged content of the bound tag.
None of these actions affects the XBL binding specification for a bound binding.
The most significant issue for ...
Get Rapid Application Development with Mozilla™ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.