You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
447 B
14 lines
447 B
4 years ago
|
$(function () {
|
||
|
$('#forgot_password').validate({
|
||
|
highlight: function (input) {
|
||
|
console.log(input);
|
||
|
$(input).parents('.form-line').addClass('error');
|
||
|
},
|
||
|
unhighlight: function (input) {
|
||
|
$(input).parents('.form-line').removeClass('error');
|
||
|
},
|
||
|
errorPlacement: function (error, element) {
|
||
|
$(element).parents('.input-group').append(error);
|
||
|
}
|
||
|
});
|
||
|
});
|