Friday, 21 November 2014

How to dismiss bootstrap modal inside function.

Make another button like this

 <button type="button" class="btn btn-warning btn-lg shiny" data-dismiss="modal" aria-hidden="true">Cancel</button>

This button contains `data-dismiss="modal"` .You can hide this button if you want.

Now You can use any other function in a customized way and when you want to hide the modal you can call


No comments:

Post a Comment