I have a Bootstrap modal dialog which contains a form. The modal dialog contains a submit and a cancel button. Now on submit button click the form is submitted
submit
You can use one of this two options:
1) Add data-dismiss to the submit button i.e.
Save
2) Do it in JS like
$('#frmStudent').submit(function() { $('#StudentModal').modal('hide'); });