I have a text input which I validate its value when event "blur" triggers .
when the value is not valid , I change the input background color , and when I resolved the error I want the original color and style of the input to be set again to it .
but what's happening that I'm losing the original style after resolving the error or getting the error , in general that's happening when changing input's style .
I tried to look for the original style to set it again but I couldn't find it in jqueryui styles .
need your help :