You could use below mentioned function for that.
function SetErrorFields(fields) {
ErrorFields = fields;
for (Field in ErrorFields) {
alert(ErrorFields[Field][0]+" | "+ErrorFields[Field][1]+" | "+$('#'+ErrorFields[Field][0]).val());
$('#'+ErrorFields[Field][0]).blur({fld: ErrorFields[Field][0], err: ErrorFields[Field][1]}, function(event){
Validate(event.data.fld,event.data.err);
});
}
}
Note : Here I have put alert box.But you can use your error labels instead of.
For a more in-depth explanation on what it does go :
http://api.jquery.com/bind/#passing-event-data[
^]
I hope this will help to you.