title: Deactivate click-Event for last column
body: <p>On my js I set a click-Event for each table-row.
  This works fine atm.
  I try to remove the click-Event just for the last column of this table, but it doesn't work.</p>
  
  <p>Do you have an idea why? Is the selector right or do I have to select more than just the last-child of td?</p>
  
  <pre><code>function addRowHandlers() {
  var table = document.getElementById("klauselliste");
  var rows = table.getElementsByTagName("tr");
  for (i = 0; i &lt; rows.length; i++) {
      var currentRow = table.rows[i];
      var createClickHandler =
          function (row) {
              return function () {
                  var cell = row.getElementsByTagName("td")[0];
                  var name = cell.innerHTML;
                  window.location.href = '/Klausel/Detail?Name=' + name.trim();
              };
          };
  
      currentRow.onclick = createClickHandler(currentRow);
  }
  
  
  
  // Code Snippet
  addRowHandlers();
  $("td:last-child").unbind("click");
  // Code Snippet
  </code></pre>