JSFiddle - React, Tailwind, and code Playground
HTML
<div id="container">Hello</div>
JavaScript
var newSwf = $('<object></object>').attr('attribute', 'value');
$('#container').append(newSwf);
<div id="container">Hello</div>
var newSwf = $('<object></object>').attr('attribute', 'value');
$('#container').append(newSwf);