JSFiddle - React, Tailwind, and code Playground

HTML

<div id="one">
    <input type="checkbox" />
</div>
<button>Tell</button>

JavaScript

function tellMe(){
    var myDiv = jQuery("#one");
    var html1 = myDiv.html();
    console.log(html1);
}

jQuery("button").click(tellMe);