When we call the HideModal() method the popupContainer div will be hiding. it is working fine in all the browsers but not working on Iphone and mobile devices .
function HideModal() {
$("#popupContainer").modal('hide');
}
could you create a jsfiddle so we can see where's the problem. anyway i've created a pen , and i tested it on my phone , it works fin for me codepen : http://codepen.io/hmache/pen/bZaNmW
jQuery(document).ready(function($){
$('#mybutton').click(function(){
$('#myModal').modal('hide');
});
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.