title: Wrap element which have an input element
body: <p>How do I wrap an element which have an input element</p>
  
  <p>in this case, i want to wrap <code>&lt;td&gt;</code> tag.</p>
  
  <pre><code>&lt;table&gt;
    &lt;tbody&gt;
    &lt;th&gt;
       &lt;td&gt;
         &lt;input type="text"&gt;wrap me please&lt;/input&gt;
       &lt;/td&gt;
       &lt;td&gt;
          don't wrap me
       &lt;/td&gt;
    &lt;/th&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>My existing jQuery <code>$('tbody tr td').wrap('&lt;div class="single-field"&gt;&lt;/div&gt;');
  </code></p>