14
rated 0 times
[
17]
[
3]
/ answers: 1 / hits: 40525
/ 10 Years ago, fri, january 16, 2015, 12:00:00
I want to use something similar to the following to clear errors in a form upon a resubmission attempt:
document.querySelectorAll(#form-error-name, #form-error-email, #form-error-tel, #form-error-dob, #form-error-password, #form-error-goal).innerHTML= ;
...But the contents of the divs isn't cleared. What am I doing wrong?
More From » javascript