JSFiddle - React, Tailwind, and code Playground

by lustre

HTML

<div id="steffi">

    <input type="text" name="whichsite" id="whichsite" />
    <button id="wp-submit">Hint</button>
    
</div>

JavaScript

$("#wp-submit").click(function () {
    $("#whichsite").val("Steffi");
});