• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

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 hold controls you can work with in JavaScript, but also can send the data in those controls back to the server using Common Gateway Interface (CGI) programming. On the server, you can use programs to decode that data and construct web pages to send back to the browser using various languages and platforms such as Perl or .NET, or even server-side JavaScript. We’ll see more on this topic in Chapter 24, “.NET and Security,” but we’ll also take a look at a little server-side programming here.

You can see the properties, methods, and events of the <FORM> element in Table 12.1, its properties in depth in Table 12.2, its methods in depth in Table 12.3, and its events in depth in Table 12.4.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint