Try this way, prevent the default action of the anchor tag
& add window redirection call with respective href
location within the bootbox
confirmation handler(when 'OK' option clicked).
$(document).ready(function(){
$('#id_customized_details_duplicate').on('click', function(event){
event.preventDefault();
bootbox.confirm("Are you sure?", function(result) {
if (result) {
//include the href duplication link here?;
window.location = $(this).attr("href");
//showProgressAnimation();
alert('OK SELECTED');
} else {
alert('CANCEL SELECTED');
}
});
});
});
LIVE DEMO: http://jsfiddle.net/dreamweiver/9he30z4y/255/
Happy Coding :)