Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

14. XHTML Forms: Getting Interactive > Adding some more input elements to your ...

Adding some more input elements to your form

It looks like the Web application isn’t going to let us get very far without telling it the beans we want, as well as the bean type (ground or whole). Let’s add the bean selection first by adding a <select> element to the form. Remember that the <select> element contains a list of options, each of which becomes a choice in a drop-down menu. Also, associated with each choice is a value; when the form is submitted, the value of the chosen menu option is sent to the server. Turn the page and let’s add the <select> element.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial