This question has already been answered:
- Catch change content in response div 2
For example, there is a function
$(document).ready(function(){ $( '.element' ).someFunc(); }); Everything works fine, but if you add new elements with the .element class via JS, you will have to call it again. Is it possible to put tracking of the appearance of elements with the class .element and automatically apply this function to them?