I just read this:
http://www.tvidesign.co.uk/blog/improve-your-jquery-25-excellent-tips.aspx
And you had some questions about some of the suggested tricks:
9 - Give your selectors context:
What is the difference between using context and using a more specific selector?
Instead of doing
var selectedItem = $('#listItem' + i, $('.myList'));
What about
var selectedItem = $('.myList>#listItem' + i);
Which one is faster / better, or is there no difference?
12 - Learn about event delegation:
I would suggest that with a low number of handlers, the delegation event is slower than normal binding.
How many handlers is the time when you should start using event delegation?
, ( , "" ) dom, , , . ?
: , ? - 10 2 .
13 -
14 - , jQuery () :
? ? , , , , DOM.
!