February 2nd, 2004, 01:29 PM
assign css class in JS, not just a CSS property...
Is there no way I can replace
document.all.registration_password_length_error.style.visibility = 'hidden';
document.all.registration_password_length_error.style.display = 'none';
When I try it I get object expected errors.
February 2nd, 2004, 01:50 PM
Instead of someElement.style.class, use:
Hope this helps,
February 2nd, 2004, 01:53 PM
damn, yeah it does. and doh me! thanks jerom. I should have put a bit more thought into that in the first palce