I was wondering how newly created element gets registered on jQuery's .on/.live
function ?
How it was internally written in Javascript?
Are they call addEventListener
on any document event which indicates that new element was created ?
I have seen the source code of .live
, but I can't find anything in this regard.