wow, i'm clearly not thinking this morning...or not clearly thinking. must be time for coffee.
Programmer - n. an organism that turns caffine into software. sorry for the nuisance. thx. On Jan 13, 10:52 am, John Resig <[email protected]> wrote: > For this reason we gave you all the tools that you need to do your > specific delegation. > > For example: > > $("#mycontainer").mousemove(function(e){ > $(e.target).closest("td").each(function(){ > // do something > }); > > }); > > --John > > On Tue, Jan 13, 2009 at 11:47 AM, Leeoniya <[email protected]> wrote: > > > I may soon need to track mouse movements in various multiple > > containers in a webapp. I was wondering if using $.live would be > > impractical in this scenario since $.live binds to document and may > > degrade performance if you need to track numerous mousemove events but > > only inside a limited area. > > > would it not be much better to explicitly specify containers in this > > case to prevent significant performance degradation involved with > > doing so much filtering regardless of cursor position within the > > document? > > > is there any way to explicitly define parent containers in $.live > > rather than using the default of document? > > > Leon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
