Web host - 541Chapter 23 .The Form and Related Objects a
541Chapter 23 .The Form and Related Objects a bit, so be careful to distinguish a form s method of transferring its data to a server from the object-oriented method (action or function) that all JavaScript forms have. The method property is of primary importance to HTML documents that submit a form s data to a server-based CGI script because it determines the format used to convey this information. For example, to submit a form to a mailto: URL, the method property must be POST. Details of forms posting and CGI processing are beyond the scope of this book. Consult HTML or CGI documentation to determine which is the appropriate setting for this attribute in your Web server environment. If a form does not have a METHODattribute explicitly defined for it, the default value is GET. Note The method property is read-only in IE3. On the CD-ROM Example on the CD-ROM Related Items: form.action, form.target, form.encoding properties. name Value: Identifier String Read/Write NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . . Assigning a name to a form via the NAME attribute is optional but highly recom mended when your scripts need to reference a form or its elements. This attribute s value is retrievable as the nameproperty of a form. You don t have much need to read this property unless you inspect another source s document for its form construction, as in: var formName = parent.frameName.document.forms[0].name Moreover, because CGI programs frequently rely on the name of the form for validation purposes, it is unlikely you will need to change this property. target Value: Identifier String Read/Write (see text) NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . . Whenever an HTML document submits a query to a server for processing, the server typically sends back an HTML page whether it is a canned response or, FORM.target
We recommend you use shared web hosting services, because many users agree that it is cheap, reliable and customer-satisfying webhost.