if I use $("#myModal").modal('show') ; the plugin is not displayed
remove fade class from popup
<div class="modal fade" id="myModal"> <div class="modal" id="myModal">
and change javascript to
$("#myModal")css("display", "block");
plugin is now displayed
I don't know the technical details, but the problem is that the fade css class and show method
source share