Happy New Year 2016

     A new year is approaching in few hours :P. A lot has passed in an year. But as usual i had only very few posts here. So by now you would have understood that i am bad at keeping these things.  Last year i categorised how it was year in personal and professional front. … Read more

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