JSFiddle - React, Tailwind, and code Playground
by Pavlo
HTML
<table></table>
JavaScript
var newHTML = $('<table><tr>one</tr><tr>two</tr></table>');
console.log(newHTML.html())
$('table').html(newHTML[0].outerHTML);
by Pavlo
<table></table>
var newHTML = $('<table><tr>one</tr><tr>two</tr></table>');
console.log(newHTML.html())
$('table').html(newHTML[0].outerHTML);