I have a form I am posting on server and if server respond with any errors I want slowly blink the inputs of the form (submits and textareas).
I was trying to do something like that:
JS:
$(':input','#myForm').not(':button, :submit, :reset, :hidden').fadeOut(550, function(){
$(':input','#myForm').not(':button, :submit, :reset, :hidden').toggleClass("blink-class").fadeIn(550);
});
CSS:
.blink-class { border: 1px solid #ee1b1b !important; }
But it is just removed inputs from the form instead of blinking. Basically I just want to blink the red border around the inputs but in a nice way.
Is there any ways of doing this?