Twitter bootstrap - 在已经打开的模式上打开模式 [英] Twitter bootstrap - open modal over an already opened modal

查看:20
本文介绍了Twitter bootstrap - 在已经打开的模式上打开模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的场景:我正在打开一个带有一些记录详细信息的模式窗口,并且我有一个删除"按钮.当用户单击此按钮时,我需要在现有模式上方/上方显示确认"模式(询问您确定吗?"),但是当显示此确认模式时,它不会首先阻止详细信息"模态(后面).

Here's my scenario: I'm opening a modal window with some record details, and I've a "Delete" button. When user clicks on this button, I need to show a "confirmation" modal above/over the existing modal (asking "are you sure?"), but when this confirmation modal is showed, it doesn't block the "details" first modal (behind).

有人知道我该怎么做吗?

Does anyone know how can I do it?

谢谢!

推荐答案

您需要做的就是将确认模式的标记放在代码中低于详细信息模式的位置.

All you need to do is place the markup for the confirmation modal lower down in the code than the details modal.

这篇关于Twitter bootstrap - 在已经打开的模式上打开模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆