On Jan 8, 1:32 pm, Eric Garside <[email protected]> wrote:
> 1000ish items? You're really putting something through it's paces. :P

I find it mostly when building rich UI webapps. Especially when
dealing with IE.

I did much experimentation and found that in many cases IE performed
faster when using inline event handlers even compared to delegation
(and certainly compared to attaching events to each element). And for
me, performance is second in importance only to functional
correctness. I don't care about delivering a few extra kb's of content
or generating the inline handlers server-side.

One thing I've had to push against with developers using jQuery is
that once you have this tool, you start to look for ways to solve
every problem with it. When you have a hammer, everything looks like a
nail. But IMO, there are many cases where jQuery is not needed at all,
and trying to solve every problem "the jQuery way" is a mistake. Use
it only when it makes things better (which is quite often, for me).

Matt Kruse

Reply via email to