Welcome Guest, Not a member yet? Register   Sign In
Showing form validation errors individually using AJAX
#2

(This post was last modified: 07-26-2017, 07:35 AM by rtenny.)

Add the removeClass before you call the aja to validate

function patient_add(){
// remove any previos error
$('input[name="' + key + '"]').next().html(val).removeClass('has-error');

then do the ajax to validcate
On the package it said needs Windows 7 or better. So I installed Linux.
Reply


Messages In This Thread
RE: Showing form validation errors individually using AJAX - by rtenny - 07-26-2017, 07:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB