JSFiddle - React, Tailwind, and code Playground

by reygonzales

HTML

<div id="clients-edit-wrapper"> 
    <div class="close-wrapper"> 
        <a href="#" class="close-div">Close</a> 
    </div> 
</div>

JavaScript

$(document).ready(function() {
    $("div.close-div").click(function() {
        $("#clients-edit-wrapper").remove();
    });
});