I want to return the result in place of false.Please help me out, already tried using window object and putting it in a variable then accessing.
$(document).ready(function() {
$('#confirm').on('click', function() {
bootbox.confirm("Are You Sure ?", function(result) {
bootbox.alert("Confirm result: " + result)
});
return false;
});
});