Member-only story
A jQuery plugin that provides a great set of features like Auto-close, Ajax-loading, Themes, Animations, and more.
How to use it?
Step1:
jquery, jquery-confirm js and CSS
can do with nom, bower, or CDN
$ npm install jquery-confirm
or
$ bower install craftpip/jquery-confirm
or
<script src="//https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.js"></script>
Step2:
my HTML and CSS
I set up a button, you can do any DOM you want.
Step3:
JavaScript