0

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.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
vimal1083
  • 8,499
  • 6
  • 34
  • 50

0 Answers0