I have a form that I would like all fields to be filled in. If a field is clicked into and then not filled out, I would like to display a red background.
Here is my
You can try something like this:
$('#apply-form input[value!=""]').blur(function() { $(this).parents('p').addClass('warning'); });
It will apply .blur() event only to the inputs with empty values.
.blur()