This structure is just awesome! On Tue, Jan 13, 2009 at 2:53 PM, Elijah Insua <[email protected]> wrote:
> That is really sexy. > > > On Tue, Jan 13, 2009 at 11: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 -~----------~----~----~----~------~----~------~--~---
