我想返回結果代替false.Please幫助我,已經嘗試使用窗口對象並將其放入一個變量然後訪問。在javascript函數中返回結果代替false
$(document).ready(function() {
$('#confirm').on('click', function() {
bootbox.confirm("Are You Sure ?", function(result) {
bootbox.alert("Confirm result: " + result)
});
return false;
});
});