mirror of
https://github.com/Akkadius/glass-isc-dhcp.git
synced 2025-09-22 01:09:19 +02:00
14 lines
447 B
JavaScript
14 lines
447 B
JavaScript
$(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);
|
|
}
|
|
});
|
|
}); |