O'Reilly logo

KnockoutJS Web Development by John Farrar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Giving Forms the Knockout Touch

Two of the oldest uses of the web are sharing and gathering information. This exchange includes the use of form and non-form elements. In this chapter, we will learn how to streamline coding and user interaction using the following focus areas:

  • Event binding
  • Text binding
  • The textInput binding
  • Web 3.0
  • Radio and checkbox binding
  • Select binding
  • Grid forms

Event binding

Let me start off by saying that I have not tested every type of event that can be bound to Knockout, but there are tons of events in HTML, or rather DOM, that can be tested. It seems with HTML5-friendly browsers the number of the browsers available to us has increased. I would suggest that you make sure that you test to validate if any newer events ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required