#jQuery UK Advanced jQuery Training
https://gist.github.com/dcneiner/0c8505e1b19f804d628f
##Notes
- Use event delegation e.g.
$(document).on('click', 'a', function () { })
- One bound event, instead of n
- Complex selectors are no longer a performance issue because they're only used after each event, instead of DOM ready
element.id
, instead of$(element).prop('id')
$(element).prop('href')
, instead ofelement.href