Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

does it replace the livequery plugin?


Mostly. The livequery plugin lets you watch for new elements and do something when they appear. It's a little resource intensive, since it polls the DOM repeatedly. The jQuery version doesn't have that, and probably for good reason.


I believe the jQuery version attaches the handlers to document which allows it to use event bubbling.

I got this info from a comment posted here by jresig himself. http://news.ycombinator.com/item?id=406653




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: