JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" value="" size="28" maxlength="140" tabindex="1" placeholder="search" class="textbox" name="q" autocomplete="off">
JavaScript
alert($('<div/>').append($(":input[type=text]:first").clone()).html());