class="error"is added to the <input/> element. Additionally a <div> is added after the field with the
nameattributes are different on the <input/> elements. It was done for historical reasons. This makes it somewhat confusing to program, because when DOM0 is used as in
nameattribute is used, but when DOM1 is used as in
idattribute is used, except for Internet Explorer, which will return an element found on both
getElementById(). Beware of dragons.