JSFiddle - React, Tailwind, and code Playground

by xkeshav

JavaScript

var myhtml = "here is my data outside div <div id='message'>inside div with id message</div>";
$('body').append(myhtml);

alert($('div#message').text());