Usually, the first <option> in <select> used by default, so you can do this:
$(this).find("option:first").attr("selected", true);
However, if you reset the entire form, you can reset to execute what was on the page load with a call to .reset() , for example:
if (tag == 'form') this.reset();
I'm not sure that you really are, but you just throw it there. Often your own DOM methods are already very convenient, do not ignore them!
Nick craver
source share