New event: elementReady

New event: elementReady


jQuery currently does not give the ability to run a function when a
specific element is loaded into the DOM. Other libraries have this
ability and it would be a useful addition. It's not in the 1.2 roadmap
or in any plugin that I have found, so I was wondering if it has been
considered.
This feature would be similar to jQuery.ready() except that it would
apply to a specific element instead of the whole document. I imagine
the declaration would be something like
jQuery.elementReady(id, fn)
which would call the given function as soon as an element with the
given ID is available in the DOM.
The Yahoo UI library has two variants of this (onAvailable and
onContentReady), which work by polling. (See
http://developer.yahoo.com/yui/docs/YAHOO.util.Event.html) I think
other libraries also include this function. I'm sure it could be added
to jQuery, though code size is always the concern.
Has anyone thought about this, or even worked on it?
Cheerio,
Bennett.