How to clear all input fields in a Bootstrap V3 modal when clicking the data-dismiss button?
Put the contents in your modal inside a form and give it an ID which is equal to "myForm".
When the close button is clicked, give an onclick to the function "myFunction()".
Cancel function myFunction() { document.getElementById("myForm").reset(); }