Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

modal resetting when hide

$('#MyModal').on('hidden.bs.modal', function () {
    $(this).find('form').trigger('reset');
})
 
PREVIOUS NEXT
Tagged: #modal #resetting #hide
ADD COMMENT
Topic
Name
9+2 =