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 ...

Get The Dojo Toolkit: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.