concept html form in category javascript

This is an excerpt from Manning's book Prototype and Scriptaculous in Action.
HTML forms are a mainstay of web application development, and, in the pre-Ajax era, presented the only serious way to elicit information from a user. With Ajax, other input mechanisms, such as drag and drop, can be used as part of a conversation between the browser and the server, but forms still have a very important role to play. Prototype provides a set of utilities for working with HTML forms, which we’ll cover in chapter 11.
We can only get so far in an Ajax application by providing interactivity within the client-side UI. Sooner or later, we’re going to need to communicate with the server. HTML forms are the backbone of server communication in most classic web applications; in an Ajax-based web application, there is more scope for other forms of interaction, but forms still play an important role.
The Form namespace in Prototype provides a lot of useful support for working with HTML forms, again, making it simpler and easier to get the job done. In this section, we’ve modified our Scratchpad application to include some Form elements in the output window. Run the modified Scratchpad application, which can be found in the download bundle as scratchpad/ps-form-sandbox.html. Listing 11.2 shows the additional HTML markup for this form.