Removing the fieldwitherrors div using RJS

I have a form in which one field can be validated using RJS.

If the user hits ‘submit’ and that field is invalid it will return
something like :

Using AJAX the entered data could at one point become valid and then I
need to remove the ‘fieldwitherrors’ div(which places a red background
around the input field) with something else using RJS.

Any ideas how I could do this?


Radu S.