How to can you clear the bootstrap modal on dismiss/hide/close?
I have the following Modal definition:
Use val('') based on input types present and use #myModal instead of body
val('')
#myModal
body
$('#myModal').on('hidden.bs.modal', function () { $('.modal-body').find('textarea,input').val(''); });
DEMO