title: overriding tr onclick
body: <p>I've got the following code in a django template:</p>
  
  <pre><code>{% for item in items %}
    &lt;tr onclick="{% url collection:viewitem item_id=item.id %}"&gt;
      &lt;td&gt;{{ item.name }}&lt;/td&gt;
      &lt;td&gt;{{ item.date }}&lt;/td&gt;
      &lt;td&gt;
        &lt;button onclick="{% url collection:edititem item_id=item.id %}" type="button"&gt;Edit&lt;/button&gt;
        &lt;button onclick="{% url collection:removeitem item_id=item.id %}" type="button"&gt;Remove&lt;/button&gt;
      &lt;/td&gt;
    &lt;/tr&gt;
  {% endfor %}
  </code></pre>
  
  <p>However, the button <code>onclick</code> events don't work, because the tr <code>onclick</code> seems to override it.  How can I prevent this from happening?</p>