注意是:layer弹窗

lliframe窗口添加关闭按钮

<button class="btn btn-danger" onclick="javascript:closethis()"><i class="icon-remove icon-white"></i> Delete</button>
<!-- 按钮的单击事件 -->
<script type="text/javascript">
        function closethis() {
            var index = parent.layer.getFrameIndex(window.name);
            parent.layer.close(index);
        }
    </script>
//关闭弹窗

 

相关文章:

  • 2021-10-29
  • 2022-12-23
  • 2021-05-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-25
猜你喜欢
  • 2021-05-18
  • 2021-12-18
  • 2022-12-23
  • 2021-08-03
相关资源
相似解决方案