问题:
I have looked for a while, but I can't find a solution for this.我已经寻找了一段时间,但我找不到解决方案。 I want the following:我想要以下内容:
- Open an URL inside a Bootstrap modal.在 Bootstrap 模式中打开一个 URL。 I have this working off course.我有这个工作。 So the content is loaded dynamically.所以内容是动态加载的。
- When an user pushes a button inside this modal, I want the current modal to hide, and immediately after that, I want a new modal to open with the new URL (which the user clicked on).当用户按下此模式内的按钮时,我希望隐藏当前模式,然后立即使用新 URL(用户单击的 URL)打开一个新模式。 This content of the 2nd modal is also loaded dynamically.第二个模态的内容也是动态加载的。
- If the user then closes that 2nd modal, the first modal must come back again.如果用户随后关闭了第二个模态,则第一个模态必须再次返回。
I have been staring at this for days, hope someone can help me.我已经盯着这个好几天了,希望有人能帮助我。
Thanks in advance.提前致谢。