我用的是引导调制解调器,这是我的布局。
用户将在站点上的任何地方有一个标题,在标题中有一个“设置”按钮,应该点击这个按钮来显示一个带有一些选项的模式。这些选项与问题无关。
The button to activate the modal is in a header file called topbar.php.
The modal is coded in a modals file called modals.php
modals.php is include()'d (via php) in the topbar.php file.
我让它起作用了,除了一个主要的缺陷。当模态出现时
Jquery函数正在执行两次(如果向前再返回,则执行次数)。onLoad of LoginMenu.jsp,WorkOrder.jsp加载在中,不管 id是什么。
当WorkOrder.jsp加载时,它将加载WorkOrders.jsp中定义的schedule.jsp in schedule选项卡
当Schedule.jsp加载时,它将获取计划页面中的记录和打印,该页面由两个引导下拉按钮和一个链接组成,它将将您带到另一个页面。单击schedule.jsp中的一个链接,它将清空,不管是什么 div,然后加载SubcaseMain.jsp。
Subcasemain.jsp包含后退按钮,点击它清空任