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(‘’, function() { $(this) .find(“input,textarea,select”) .val(”) .end() .find(“input[type=checkbox], input[type=radio]”) .prop(“checked”, “”) .end(); }) Njoy smile

Live Long the Memories

[pullquote align=center] A life is like a garden. Perfect moments can be had, but not preserved, except in memory –  Leonard Nimoy [/pullquote] Final tweet by the man who had given us awesome performance as our beloved Mr. Spock. You shall be remembered always.