JSFiddle - React, Tailwind, and code Playground

by vikram sharma

HTML

<div id="divcustumfld">
   Your data elements 
</div>
<button type="button" id="btn1" >Ok</button>

JavaScript

$('#btn1').click(function(){
   $('#divcustumfld').hide();
});