I'm using this to reset a form when a visitor refreshes the page: $(document).ready(function () { resetForms(); }); function resetForms() { document.getElementById('configurato
Solution 1:
You're approach should work.
The only mistake you have is the selector,
Your JS should look like this:
(without the white space in the selector)
functionresetForms() {
var value = $("input.snap").val();
document.getElementById('configurator-form').reset();
$("input.snap").val(value);
}
Post a Comment for "Reset Form Except One Input Enclosed In Div"