Hi,
I need to add a onClick event to a around 10-20 elements on a page.
What would be the fastest way to reference those elements?
Would it be using: 1) class reference 2) ID reference
Or a more drilled down reference like: p -> div -> li ?
I realize we are probably talking a very small performance gain, but I think its good to know either way.