Lect21FormsII - Announcements No posting of code in the...

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 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 Regarding the name property The name property is used by servers to process the data Most of the time we will set the name and id attributes to the same value 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 Submit button Sends form data to a server application. It is this special functionality that other buttons don’t have <form tag> Two important attributes: action indicates where the form contents will be sent method defines how the contents will be sent
Background image of page 2
3 HTML Forms Method Two alternatives post Contents sent using the HTTP POST method Content is sent in the body of the message get Contents sent using the HTTP GET method Contents included in the URL Example: formGet.html, getProcessing.php
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.

Page1 / 10

Lect21FormsII - Announcements No posting of code in the...

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