> > no you should NOT use inline code, never again... > Sorry Nicolas, that is not true - try to do 1000 mouseover > binds or so on a page and see how it goes for you. jQuery > is fantastic but in some (very few) situations it is not quite > fast enough. > > Obviously this is a "last resort" method but in a few cases > it is necessary.
In many cases, a better solution for the thousand mouseovers, clicks, etc. is to use a single event handler on a parent element and inspect event.target in the event handler. That's extremely efficient and nearly as easy to code. There's an example here: http://groups.google.com/group/jquery-en/msg/785b404914c25511 (Click More Options/View Thread to see the original code that used multiple event handlers.) -Mike