DOM Forms
I’ve been doing some research, thinking and testing on the subject of web forms recently. One of the things I have implemented in a CMS I co-develop (yeah I know, yet another CMS, dunno what to say) is to hide form elements until they are actually needed, based on input from the user. I use JavaScript to set the display property of elements or groups of elements. Well, I’m not the only one who’s been working on this. Over at Digital Web, there is an excellent article by Peter-Paul Koch that describes another, perhaps better, way of hiding and showing form elements. Technically I like his approach, but the use of custom attributes makes the XHTML invalid. Probably no big deal in this case, but I’d like to find some way of keeping it valid. Maybe by using classnames and checking the value of getAttribute(‘class’)? Hmm…
- Previous post: Mozilla 1.4 Release Candidate 1 Now Available
- Next post: AOL, Netscape and the death of Internet Explorer
Search and sponsorship
Job opportunities
Looking for web hosting?
Use the promo code 456BEREASTREET3 to save USD 20 when you sign up for DreamHost


Comments
Sorry, comments are closed for this post.