Server IP : 144.76.124.212 / Your IP : 216.73.216.55 Web Server : LiteSpeed System : Linux l4cp.vnetindia.com 4.18.0-553.40.1.lve.el8.x86_64 #1 SMP Wed Feb 12 18:54:57 UTC 2025 x86_64 User : rakcha ( 1356) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home5/rakcha/www/app/assets/js/page/ |
Upload File : |
"use strict"; $("#swal-1").click(function () { swal('Hello'); }); $("#swal-2").click(function () { swal('Good Job', 'You clicked the button!', 'success'); }); $("#swal-3").click(function () { swal('Good Job', 'You clicked the button!', 'warning'); }); $("#swal-4").click(function () { swal('Good Job', 'You clicked the button!', 'info'); }); $("#swal-5").click(function () { swal('Good Job', 'You clicked the button!', 'error'); }); $("#swal-6").click(function () { swal({ title: 'Are you sure?', text: 'Once deleted, you will not be able to recover this imaginary file!', icon: 'warning', buttons: true, dangerMode: true, }) .then((willDelete) => { if (willDelete) { swal('Poof! Your imaginary file has been deleted!', { icon: 'success', }); } else { swal('Your imaginary file is safe!'); } }); }); $("#swal-7").click(function () { swal({ title: 'What is your name?', content: { element: 'input', attributes: { placeholder: 'Type your name', type: 'text', }, }, }).then((data) => { swal('Hello, ' + data + '!'); }); }); $("#swal-8").click(function () { swal('This modal will disappear soon!', { buttons: false, timer: 3000, }); });