JSFiddle - React, Tailwind, and code Playground

by techiedelight

HTML

<label for="name">Email address:</label>
<input type="email" id="name" placeholder="Enter email">

JavaScript

$(document).ready(function() {
  var isInput = $("#name").is("input");
  alert(isInput);
});