Q:

Refresh main view after close a mondal (with click on button or outside)

i have a modal and after do a ajax-formular job i want that the mainpage (view) will refresh/reload.
How i can do that?

A:

i find the easy way to do it
$('#myModal').on('hidden.bs.modal', function () {
 location.reload(); //or what you want to do
})

