JSFiddle - React, Tailwind, and code Playground
by Vinay Pratap Singh Bhadauria
HTML
<div id="this_can_be_updated">Hello.
<br/>This is some text. I need to put in the third line
<br/>the number</div>
<input type="button" value="insertControl" id="insert" />
JavaScript
$("#insert").click(function () {
var divhtml = "<input type = 'text' value='dynamic control'>";
$("#this_can_be_updated").append("<input type = 'text' value='dynamic control'>");
});