当前位置: 动力学知识库 > 问答 > 编程问答 >

html - Jquery appendto modal is removed after closing

问题描述:

I use this Jquery in order to display modal box.

I append it to other div, because otherwise i face problems with design / z-index.

 $j(this).closest('div.product').find('.productmodal').appendTo("#bodypro").modal('show');

This works fine however when closing the modal it does not place back but completely removes it.

Any ideas how to fix ? In other words how can I take care that it does not get removed or how do I can place it back manually ?

分享给朋友:
您可能感兴趣的文章:
随机阅读: