Tag: bootstrap

  • Clear values inside bootstrap modal upon closing

    I don’t know whether this is going to be useful for anyone. Since i wanted to share something in the site after a long time, i am putting things. I will be regular now on wink (i hope so)   $(‘#mymodal’).on(‘hidden.bs.modal’, function() { $(this) .find(“input,textarea,select”) .val(”) .end() .find(“input[type=checkbox], input[type=radio]”) .prop(“checked”, “”) .end(); }) Njoy smile