JSFiddle - React, Tailwind, and code Playground
HTML
<ol id="t">
</ol>
JavaScript
var x = $('#t').append('test');
var y = x.append('<ol>hello</ol>');
x.append('hello2');
y.append('hello3');
<ol id="t">
</ol>
var x = $('#t').append('test');
var y = x.append('<ol>hello</ol>');
x.append('hello2');
y.append('hello3');