title: JQuery Adding link to a table cell
body: <p>I'm trying to add an a tag to a table cell.  My code is working all the way up to the final line shown here, at which point I get an exception of </p>
  
  <p>'TypeError: Object doesn't support this property or method'</p>
  
  <p>From what I've read, appendChild should be a method on my table cell.</p>
  
  <pre><code>    var rowId = "#rowid-" + response.id;
      var actionCell = $('#itemlist').find(rowId).find(actionCellId);
      //Add my Edit link                
      link = document.createElement('a');
      link.setAttribute('href', '/MYSite/Item/Edit?itemID=' + response.id);
      link.setAttribute('id', 'edit-' + response.id);
      var linkText = document.createTextNode('Edit');
      link.appendChild(linkText);
      //Exception occurs on this line
      actionCell.appendChild(link);
  </code></pre>