In order to make the validation cross-browser compatible, we are forced to abandon the expando attributes which Netscape does not recognize. In Netscape, the only way to set or retrieve non-standard properties on HTML elements is to use script; Netscape has neither support for, nor counterpart to, the getAttribute, setAttribute and removeAttribute methods available in Internet Explorer.
Page 1:Form Validation Made Easy
© 1997-2000 InsideDHTML.com, LLC. All rights reserved.