JSFiddle - React, Tailwind, and code Playground
by justinwyllie
HTML
<input id="test" />
JavaScript
document.getElementById('test').value = 'my input text';
by justinwyllie
<input id="test" />
document.getElementById('test').value = 'my input text';