Monday, January 24, 2022

Remove jQuery Validate error class from input fields and apply on error labels only

 You can use the following method to remove error class apply on form elements.

$('#addNewForm').validate({

        highlight: function(element) {

            $(element).removeClass("error");

        }

});

No comments:

Post a Comment

Please Comment Here!

How to backup and download Database using PHP

< ?php $mysqlUserName = 'databaseusername' ; $mysqlPassword = 'databasepassword' ; $mysqlHostNa...