title: Javascript event handler on table?
body: <p>Quick question, is it possible to put an onclick event handler on a  <code>&lt;table&gt;</code> element? At the moment I've got a handler on each <code>&lt;tr&gt;</code> to detect when a row is clicked, but I was thinking it would be simpler and more efficient if I could have a single event handler for the whole table and then use event.target to find which row was clicked.</p>