FormsV - ANNOUNCEMENTS No posting of code in the forum...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
ANNOUNCEMENTS No posting of code in the forum Check class announcements daily Another browser choice http://www.maxthon.com/ 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 HTML FORMS Forms Previous examples of forms just collected data for processing by a JavaScript program Forms Means by which information passes from the user to a server name attribute The name attribute is used by servers to retrieve data sent via form Most of the time we will set the name and id attributes to the same value Submit button Sends form data to a server application It is this special functionality that other buttons do not have <form tag> Two important attributes: action indicates where the form contents will be sent method defines how the contents will be sent Example: searchBox.html Look at the URL after submission
Background image of page 2
3 HTML FORMS Method Two alternatives post - content is sent in the body of the message get - contents included in the URL Example:
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/12/2012 for the course CMSC 122 taught by Professor Staff during the Fall '08 term at Maryland.

Page1 / 7

FormsV - ANNOUNCEMENTS No posting of code in the forum...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online