Jquery validation message insert After bootstrap add on BTN
.validate({
errorPlacement: function(error, element) {
if (element.next().is('.input-group-addon')) {
error.insertAfter(element.parent('.input-group'));
} else {
error.insertAfter(element);
}
},
onkeyup: false
})
errorPlacement: function(error, element) {
if (element.next().is('.input-group-addon')) {
error.insertAfter(element.parent('.input-group'));
} else {
error.insertAfter(element);
}
},
onkeyup: false
})
Comments
Post a Comment