Skip to content

ehynds/jquery-create-event

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Fire a custom "create" event when new, matching elements are inserted into the DOM.

Resources

Stars

Watchers

Forks

Packages

No packages published