[Greasemonkey] Re: onpropertychange emulation

Lenny Domnitser ldrhcp at gmail.com
Mon Oct 17 17:30:02 EDT 2005


On 10/17/05, Ilia K. <mail4ilia at gmail.com> wrote:
> it seems like "DOMAttrModified" is just a
> Gecko's name for "propertychange" event.

Almost, except propertychange would be for properties of a Javascript
object, whereas an attribute is an attribute of an HTML element. This
is often the same, but will sometimes give different results (for
example 'style').

propertchange would also work for properties that do not correspond to
attributes, such as 'childNodes'.


More information about the Greasemonkey mailing list