callback - Listen to creation, change and deletion events in jQuery -


i trying call function everytime .element created or deleted, or when content of .element changed. can use livequery creation event; there way register "edit" or "delete" callbacks?

thank in advance!

livequery can handle deletion of element. pass second function argument. run when element matches selector removed.

with respect edit, suppose depend on type of edit. if remove class such no longer matches selector gave livequery, think second function argument triggered in case well.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -