I want to disable error messages when checkbox checked.
I wrote a script that disables some of the entry, but I do not know how to disable the error message.
My js code:
$().ready(
function () {
$("#needPost").click(function () {
if ($(this).is(':checked')) {
//Need hide error Message
} else {
}
}
);
How to implement it?
For example if your error message has class “checkBoxError”, you may put