Aaron Heimlich wrote:
Well, DOM2 does define "Mutation Events"[1], which seem to be what
you're looking for, but I dunno how many browsers actually support them.
You could trigger custom events inside append(), prepend(), etc., but I
dunno how well that will run.
They don't seem well supported according to a cursory investigation.
The latter approach is the one Brandon took, and is probably the best
that can be done with current browsers, although maybe it could back all
the way into the underlying DOM functions.
-- Scott
- [jQuery] Re: behaviors? Scott Sauyet
-