Answers for "jquery confirm"

0

jquery alert with yes no

if (confirm('Are you sure ?')) {
        console.log('ok');
    }else
    {
      console.log('cancel')
    }
Posted by: Guest on April-29-2020
0

jquery confirm

$.confirm({    
	title: 'Confirm!',
	content: 'Simple confirm!',
	buttons: {
		confirm: function () {
			$.alert('Confirmed!');
		},
		cancel: function () {
		$.alert('Canceled!');
		},
		somethingElse: {
			text: 'Something else',
			btnClass: 'btn-blue',
			keys: ['enter', 'shift'],
			action: function(){
				$.alert('Something else?');
			}
		}
	}
});
Posted by: Guest on August-21-2021
1

jquery confirmation dialog example

$("#complexConfirm").confirm({
    title:"Delete confirmation",
    text:"This is very dangerous, you shouldn't do it! Are you really really sure?",
    confirm: function(button) {
        alert("You just confirmed.");
    },
    cancel: function(button) {
        alert("You aborted the operation.");
    },
    confirmButton: "Yes I am",
    cancelButton: "No"
});
Posted by: Guest on September-11-2020
-1

jconfirm button

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.js"></script>
Posted by: Guest on July-16-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language