我在一个HTML文件(delete-window.html)中设计了一个可以弹出的窗口,在另一个HTML文件(delete-business.html)中想调用那个可以弹出的窗口,要如何调用。
代码:
1.
<delete-window><div class="ui basic modal" id=""> <i class="close icon" onclick="$('.ui.basic.modal').modal('hide');"></i> <div class="header"> Are you sure to delete? </div></delete-window>
2.
<delete-business><script>function deleteBiz() { $('delete-window.ui.basic.modal').show(); }</script></delete-business>
梦里花落0921
相关分类