jquery-create-event
jquery-create-event copied to clipboard
Fire a custom "create" event when new, matching elements are inserted into the DOM.
jQuery "create" event
This event wraps $.fn.domManip
and $.fn.html
to fire a custom "create" event when new, matching elements are inserted into the DOM.
Use it like:
// bind a handler that will fire when new "div.foo"
// elements are inserted into the DOM
$("div.foo").live("create", function(e){
$(this).doSomething();
});