Skip to main content
  • 870 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints 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

Publish with us

Policies and ethics