Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 342 Bytes

README.markdown

File metadata and controls

11 lines (8 loc) · 342 Bytes

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();
});