Abstract
When you hear the word validation in the context of a web application, you generally think of validating user input on a form. This usually evokes thoughts of writing event-handler code to perform various checks on form input before submitting it. All of this can quickly become rather messy. No matter how well you externalize your scripts and set up basic event-handler code that just calls functions, the simple fact is that these validations are scattered throughout your code—it’s just a question of to what degree that’s true.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2007 Frank W. Zammetti
About this chapter
Cite this chapter
(2007). Get It right, Bub: a JavaScript Validation Framework. In: Practical JavaScript™, DOM Scripting, and Ajax Projects. Apress. https://doi.org/10.1007/978-1-4302-0197-7_8
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0197-7_8
Publisher Name: Apress
Print ISBN: 978-1-59059-816-0
Online ISBN: 978-1-4302-0197-7
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books