How to clear all input fields in a Bootstrap V3 modal when clicking the data-dismiss button?
enclose your modal body inside a form with an id="myform"
and then
$("#activatesimModal").on("hidden.bs.modal",function(){ myform.reset(); });
should do the trick