Reset an asp.net validation control via javascript?
Posted
by Michael Kniskern
on Stack Overflow
See other posts from Stack Overflow
or by Michael Kniskern
Published on 2010-05-26T18:53:47Z
Indexed on
2010/05/26
19:01 UTC
Read the original article
Hit count: 294
How do I reset an asp.net validation control via JavaScript? The current code sample clears the error message text but does not reset the validation control for the next form submission.
var cv= document.getElementById("<%= MyValidationContorl.ClientID %>");
cv.innerHTML = '';
© Stack Overflow or respective owner