JSFiddle - React, Tailwind, and code Playground

HTML

<input id="in" type="text">

JavaScript

$('#in').html('test');