title: How to use dojo.query() and dojo.place() together?
body: <p>I'm trying to create a dynamic table which will have rows added and removed throughout its use. I do not want to have to put id's on every container that I later want to reference. </p>
  
  <p>For instance, I want to add a hidden input to the last cell of a dynamically added row. The row has an id, how can I use dojo.place() when I do not have an id on the last cell?</p>
  
  <pre><code>var pmrCount = dojo.query("#pmhTable &gt;tbody &gt;tr").length;
  var rowID = 'pmr_' + pmrCount;
  
  var newPmrRow = 
      '&lt;tr id="' + rowID + '"&gt;' +
          '&lt;td&gt;' + pmh + '&lt;/td&gt;' +
          '&lt;td&gt;' + String(pmr.severity).charAt(0) + '&lt;/td&gt;' + 
          '&lt;td&gt;' + pmr.customerName + '&lt;/td&gt;' + 
          '&lt;td&gt;' + pmr.deviceType + '&lt;/td&gt;' + 
          '&lt;td&gt;' + pmr.deviceModel + '&lt;/td&gt;' +
          '&lt;td&gt;' + pmr.deviceSerial + '&lt;/td&gt;' +
          '&lt;td align="center"&gt;&lt;a class="cancel-link"&gt;&lt;/a&gt;&lt;/td&gt;' + 
      '&lt;/tr&gt;';
  
  //dojo.place(newPmrRow, dojo.query("#pmhTable &gt;tbody"));
  
  var newPmrHiddenInput = 
      '&lt;input type="hidden" name="pmrs" value="'+ JSON.stringify(pmr)+ '"&gt;';
  
  //dojo.query("#" + rowID + " td:last").place(newPmrHiddenInput);
  </code></pre>
  
  <p>The two commented lines of code are the ones that I am trying to replace with functional code. These do not work, they don't surface any warnings in the error console like other syntax errors. Not sure where to go from here.</p>
  
  <p>I know that dojo.query() returns a NodeList and place() is expecting an DOM node or an id. What's the correct way to do this?</p>