How do I create tables in jQuery without tbody being added to my code by jQuery? See http://jsfiddle.net/r7BFq/
$('table').html('<tr><td>A</td><td>B</td></tr>');
$('pre').text($('table').html());
results in
<tbody><tr><td>A</td><td>B</td></tr></tbody>
I don’t want that. I want:
<tr><td>A</td><td>B</td></tr>
Why Would you try to remove
tbody. your browser is trying to add the part of valid html, you are missing. Is it not nice?