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

xslt - Substring before throwing error -

Google Cloud Bigtable Durability/Availability Guarantees -

Android M doze mode and "native" posix socket freezing up -