Abstract
It is inevitable that, when encountering a form, one considers the fate of the data for that form. One of the first practical applications of JavaScript was providing a way to validate data on the client side, instead of having to endure a round trip to the server. Form validation was a bit ad hoc at the time, with no practical API and no real integration with the browser. Instead, programmers bound together events and basic text manipulation to provide a handy user interface enhancement.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 John Resig, Russ Ferguson, and John Paxton
About this chapter
Cite this chapter
Resig, J., Ferguson, R., Paxton, J. (2015). JavaScript and Form Validation. In: Pro JavaScript Techniques. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6392-0_7
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6392-0_7
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6391-3
Online ISBN: 978-1-4302-6392-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books