JSFiddle - React, Tailwind, and code Playground
by septerr
HTML
<div id="test">This element already existed in the DOM.</div>
JavaScript
$('#test').after('<div>Hello</div>').attr('id', 'hello').addClass('a').addclass('b');
by septerr
<div id="test">This element already existed in the DOM.</div>
$('#test').after('<div>Hello</div>').attr('id', 'hello').addClass('a').addclass('b');