Created
September 25, 2014 16:41
-
-
Save swapnilshrikhande/ddc040bf528990674d07 to your computer and use it in GitHub Desktop.
boostrap Dialog with url as input dat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery.ajax({type:'POST',url:$(this).attr('href'),success:function(data) { | |
bootbox.dialog({ | |
message: data, | |
title: "Custom title", | |
buttons: { | |
success: { | |
label: "Success!", | |
className: "btn-success", | |
}, | |
} | |
}); | |
}); | |
//cdnjs.cloudflare.com/ajax/libs/bootbox.js/4.3.0/bootbox.min.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment