Building a JavaScript Object

At the start of a new series on JavaScript client-side validation, we look at Javacript objects. Why Objects? Power. Why confuse the issue with lots of babble? The reason you want to take an object based approach is the power it offers. We've had some requests for some form validation techniques. Some of the best techniques are based on object-oriented principles. So before we tackle that, let's take a look why JavaScript objects are powerful, and how to implement them.

$2.79
- OR -

Overview

Table of Content:

  • Why Objects?
  • A Custom Form Object
  • Getting Started
    • What are properties?
    • What are methods?
    • "Instantiating" or "making" an object
    • The Constructor
    • Remember This?
  • Prototype properties
  • Making it happen
  • The Moment of Truth
  • Conclusion
  • Next Week

Reviews

Be the first to write a review

You must me logged in to write a review.