Chapter 12. Working with Forms, Buttons, Check Boxes, and Radio Buttons
In this chapter, we’re going to start working with the HTML controls (the HTML data-entry elements, such as buttons, text fields, and so on) that many JavaScript programmers consider JavaScript to be all about. Here we’ll take a look at working with forms, buttons, check boxes, and radio buttons. We’ll also take a look at two elements closely allied to working with forms: the <FIELDSET>
and <LEGEND>
elements.
The <FORM> Element
The <FORM>
element surrounds the kind of controls the user interacts with in a web page—buttons, radio buttons, check boxes, and so on. Forms not only ...
Get Inside JavaScript 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.