JSFiddle - React, Tailwind, and code Playground HTML <input type="search" value="get me" /> JavaScript alert($('input[type="search"]').val());