javascript - Bootstrap: close modal and save changes -


  <div class="modal-footer">     <button type="button" class="btn btn-default" data-dismiss="modal">close</button>     <button type="button" class="btn btn-primary">save changes</button>   </div> 

is possible close modal window , save changes single button. have not found solution.

add data-dismiss="modal"attribute save changes button. fiddle: https://jsfiddle.net/dtchh/8698/


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -