I am trying to clear all error messages as well error highlighting when user click on the clear form button, below are actual requirements
clear form
All error messages will be cleared
$('.btn-reset').on('click', function () { $( "label.error" ).remove(); });