Unfortunately form.reset() function doesn\'t reset hidden inputs of the form. Checked in FF3 and Chromium.
Does any one have an idea how to do the reset for hidden f
$('#form :reset').on('click',function(e)({ e.preventDefault(); e.stopImmediatePropagation(); $("#form input:hidden,#form :text,#form textarea").val(''); });
For select, checkbox, radio, it's better you know (hold) the default values and in that event handler, you set them to their default values.