JSFiddle - React, Tailwind, and code Playground
by Ashish Kumar
HTML
<input type="text" value="text">
<br/>
<input type="search" value="search">
<br/>
JavaScript
$(function() {
alert($('input:text').val());
alert($('input[type="search"]').val());
});