JSFiddle - React, Tailwind, and code Playground
by jeevankk
HTML
<html>
<head>
</head>
<body>
<div id='mydiv'></div>
<input id='bt' type='button' value="click"/>
<input id='txt' type='text' value="click"/>
</body>
</html>
JavaScript
$('#bt').click(function() {
$('#txt').val("Hello");
});