Whenever I press the button , the modal just won\'t show up, I tried so many things even creating a custom.js to put this code in
$(\'#myModal\').modal(\'sh
Problem is that jQuery 3.0.0-alpha1 version Not Fully Supported by bootstrap 3.3.5
Reason modal not showing
$("#myModal").modal("show")is because .modal property display:none is not changing to display:block
Fiddle
Solution-1
Switch back to last stable version of jQuery jQuery 2.x
Solution-2 using jQuery 3.0.0-alpha1
Use bootstrap modal event listener and change .modal property from display:none to diaply:block when modal shown.;
If using button to trigger the modal
$(document).ready(function () {
$("#myModal").on('shown.bs.modal', function () {
$(".modal").css('display', 'block');
})
});
Fiddle
If using jQuery to open the modal
$(document).ready(function () {
$("#myModal").modal("show").on('shown.bs.modal', function () {
$(".modal").css('display', 'block');
})
});
Fiddle