title: How do I wrap everything inside a TD element with a SPAN or DIV
body: <p>What am I doing wrong, my html is rendered as such:</p>
  
  <pre><code>&lt;td colspan="2"&gt;&lt;input id="ctl00_ContentPlaceHolder1_Login1_RememberMe"   
  type="checkbox" name="ctl00$ContentPlaceHolder1$Login1$RememberMe" /&gt;  
  &lt;label for="ctl00_ContentPlaceHolder1_Login1_RememberMe"&gt;Remember me next time.  
  &lt;/label&gt;&lt;/td&gt;
  </code></pre>
  
  <ol>
  <li>I want to wrap everything inside the
  TD with a span.</li>
  <li>The idea is to increase the font size of the text
  "Remember me next time."</li>
  </ol>
  
  <p>I have this so far:</p>
  
  <pre><code>$(document).ready(function() {
          $("input:checkbox").css("border", "none");
  
          //$("input:checkbox").parent().addclass("checkboxtd");
  
          var parentTd = $("input:checkbox").parent();
          var prevToCheckBox = $("input:checkbox").prev();
  
          $(prevToCheckBox).css("border", "solid 1px red"); alert(prevToCheckBox);
          alert(prevToCheckBox.html());
  
          var parentofParent = parentTd.parent();
  
          $(parentTd).prepend("&lt;span&gt;");
          $(parentTd).append("&lt;/span&gt;"); //+ "&lt;/span&gt;"
  
          //parentTd.before("&lt;div class=\"checkboxtd\"&gt;&lt;/div&gt;");
          alert(parentTd.parent().html());
  
          //        $("input:checkbox").css("border", "none").prepend("&lt;span&gt;ss");
          //        $("input:checkbox").css("border", "none").prepend("&lt;span&gt;ss");
          //        $("h2").prepend("&lt;span&gt;ss");
          //        $('h2').append("&lt;/span&gt;"); //+ "&lt;/span&gt;"
      });
  </code></pre>
  
  <p><strong>Output from alert(parentTd.parent().html());</strong></p>
  
  <pre><code>&lt;TD colSpan=2&gt;&lt;INPUT id=ctl00_ContentPlaceHolder1_Login1_RememberMe 
  style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" type=checkbox name=ctl00$ContentPlaceHolder1$Login1$RememberMe&gt;  
  &lt;LABEL for=ctl00_ContentPlaceHolder1_Login1_RememberMe&gt;Remember me next time.
  &lt;/LABEL&gt;&lt;/SPAN&gt;&lt;/TD&gt;
  </code></pre>