ISSUE :
 
Profile photo
Submitted by Julio De La Cruz
on August 1st, 2011 at 15:56:48 EST

onblur or on tab out validation in jQuery

Hi,
I have a requirement that I need to execute some validation code onblur() event or when the user tab out from the field.
I want a way to trigger this event in client side using jQuery can someone give me outline how it can be done?
Thanks,
Julio


Profile photo
Replied by Yogaraj Khanal
on August 1st, 2011 at 15:59:55 EST

$('#field1, #field2, #field3 ... fieldN').blur(function(){
//your validation code goes here
});

Accepted Answer
Accepted
 Answer

Profile photo
Replied by Julio De La Cruz
on August 1st, 2011 at 16:14:19 EST
Got it working thanks for your help.
Julio.