Summary

Forms are one of the most important elements in HTML and JavaScript. With forms, the web designer can engage the viewer, provide feedback, and move information to different locations. The window boxes and buttons are both sources of data entered by the user and events that can be dynamically used in a page design. For purposes of discussing forms with design, they were categorized into text, buttons, and menu types of forms. Each of these form elements is further broken down into the different components. However, as JavaScript objects, most appear very much the same.

Menu forms are a bit different, but, when working with forms in JavaScript, each element still is a property of the document and the form. In turn, the attributes of the ...

Get JavaScript Design 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.