Does jQuery live setInterval?

Is jQuery live

's using method setInterval

to update events?

Does this affect performance?

+2


source to share


3 answers


Based on this blog as a resource, it looks like jQuery.live () works by attaching events to the document. Then, when the event is triggered (for example, by a click), the event will bubble up to the document level - at which point it is compared against all of the event handlers in real time. If it matches an active event handler, it fires an event for it.



+10


source


This blog post covers pretty well what goes on behind the scenes.

http://www.neeraj.name/blog/articles/882-how-live-method-works-in-jquery-why-it-does-not-work-in-some-cases-when-to-use- livequery



live doesn't use setinterval, but livequery does.

+2


source


It doesn't seem to be using SetInterval. I could be wrong.

0


source







All Articles