O'Reilly logo

The Dojo Toolkit: Visual QuickStart Guide by Steven Holzner

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 2. Form Dijits: Text Boxes and Buttons

In the previous chapter, we got Dojo and Dijit up and running. In this chapter, we’ll work with two fundamental Dijits: buttons and text boxes. Working with these two basic Dijits will help you build your foundation of Dijit skills.

Both buttons and text boxes have many variations in Dojo: for example, in addition to the standard TextBox Dijit that you saw in Chapter 1, you can insert ValidationTextBox Dijits, which let you build in validation that checks what a user enters, as the user enters it. You can also insert date and time controls that descend from text boxes, number spinners that let users click up and down arrows to select numbers, and more.

In Chapter 1, we created our Dijits with HTML ...

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