JSFiddle - React, Tailwind, and code Playground

HTML

<form action="">
    <input type="text" name="search" />
</form>

JavaScript

jQuery('form').trigger('search');