ABi ABi - 2 months ago 16x
ASP.NET (C#) Question

Open modal popup on another modal popup

I want to show a modal on another modal while its still visible.
I am unable to understand what should I do. I tried z-index but its not working for me.
Any kind of guidance is much appreciated.


try this

  • Data-dismiss: used for closing modal.
  • Data-toggle:used for popup modal.
<a data-dismiss="modal" data-toggle="modal" href="#ModalId">Click</a>

OR you can use onclicke method.

<a id="ID" data-dismiss="modal" data-toggle="modal" onclick="functionShowModal()">Click</a>



You have to define z-index for them accordingly as well. You will find more about z-index here