Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
175
rated 0 times [  178] [ 3]  / answers: 1 / hits: 48319  / 10 Years ago, thu, may 29, 2014, 12:00:00

Is it possible in Bootstrap 3 to open modal from another modal? I have modal windows with content loaded from external html files.




  1. I'm opening the modal window. There I have a form to submit.

  2. After clicking the submit button I would like to go to the next step with a new modal window (and a new content from another html file).



As far as I know you can't have two modal windows simultaneously, so I have to close the first modal and then open the second one. The problem is I have to do after clicking the submit button in the first modal.



I've tried to use the data-dismiss=modal with data-toggle=modal attributes on the submit button but they only hide the first modal, the background in still dark and nothing happens.


More From » jquery

 Answers
9

you can use http://jschr.github.io/bootstrap-modal/bs3.html for that; check stackable example.


[#70810] Tuesday, May 27, 2014, 10 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mira

Total Points: 460
Total Questions: 108
Total Answers: 99

Location: American Samoa
Member since Fri, Aug 26, 2022
2 Years ago
mira questions
;