If my html is
<form class="form1" id="registerPublicFRM" action="" method="post">
<label for="firstname">First name:</label><div class="errRnd"><input name="firstname" id="firstname" size="28" type="text"></div>
<input value="Register" type="submit">
</form>
Shouldn't running this jquery
$('#registerPublicFRM .errRnd').removeClass('errRnd');
turn class="errRnd"
into class=""
?
As is, it remains
<div class="errRnd">
Thanks for your answers guys. My bad - I had a stray piece of code later in the func that was also adding a border.