JSFiddle - React, Tailwind, and code Playground
by Karan1412
HTML
<div id="callback">This is example for callback functions !!</div>
<input type="button" id="click" value="Hide" />
CSS
#callback {
height:100px;
width:200px;
background-color:Green;
}
JavaScript
$(document).ready(function () {
$("#click").click(function () {
$("#callback").hide("slow", showAlert);
});
function showAlert() {
alert("Hide operation completed !!");
}
});