jquery validate: Changing tab header's color if error exist ,(urgent solution)

jquery validate: Changing tab header's color if error exist ,(urgent solution)

if any error has in tab ,the tab should be highlighted with some color . 

thanks & Regards,
Learner.