蝈蝈大王

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
1、js中操作
$('#myModal5').map(function() {//用id选择器选中要关闭的模态框 $(this).modal('hide'); //关闭 });

 2、用button在模态框关闭

<button type="button" class="close" data-dismiss="modal">

 

posted on 2016-08-23 15:09  蝈蝈大王  阅读(2277)  评论(0编辑  收藏  举报