JavaScript - Object Oriented Form Validation

This tutorial aims to teach you a better way to validate your forms that doesn't rely on naming your forms, or worse, relying heavily on IDs. Wherever possible, ID usage should be removed. Why Bother? By not having to use IDs or naming our forms: we do not have to…

Read this article