Chapter 3. Building complex web forms with jQuery UI
This chapter covers
- Using the jQuery UI form widgets
- Building an enhanced contact form
- Comparing the jQuery UI widgets to their HTML5 counterparts
Building forms with native HTML is difficult; a limited number of controls offers a limited set of functionality. In this chapter we’ll look at how the five form widgets of jQuery UI—autocomplete, button, datepicker, selectmenu, and spinner—enhance these native HTML elements and make it easy to build nontrivial forms.
To learn about the widgets and what they do, you’ll build a sample form, one that patients can use to make appointments at a local doctor’s office. No one likes visiting the doctor, and your job is to make the appointment process ...