582 Part III . Document Objects Reference On
582 Part III . Document Objects Reference On the CD-ROM Note In NN4 (only), if you have both onChange and any keyboard event handlers defined for the same text field tag, the onChange event handlers are ignored. This is not true for IE4, where all events fire. Example (with Listing 25-6) on the CD-ROM Password Input Object Properties Methods Event Handlers See Text Input Object Syntax See Text Input Object. About this object A password-style field looks like a text object, but when the user types some thing into the field, only asterisks or bullets (depending on your operating system) appear in the field. For the sake of security, any password exchanges should be handled by a server-side CGI program. Many properties of the password object were blocked from scripted access in NN2. Scripts in later browsers can treat a password object exactly like a text INPUT object. This may lead a scripter to capture a user s Web site password for storage in the document.cookieof the client machine. A password object value property is returned in plain language, so that such a captured password would be stored in the cookie file the same way. Because a client machine s cookie file can be exam ined on the local computer (perhaps by a snoop during lunch hour), plain-language storage of passwords is a potential security risk. Instead, develop a scripted encryption algorithm for your page for reading and writing the password in the cookie. Most password-protected sites, however, usually have a CGI program on the server encrypt the password prior to sending it back to the cookie. See the text object discussion for the behavior of password object s properties, methods, and event handlers. The typeproperty for this object returns password. Hidden Input Object Properties Methods Event Handlers See Text Input Object document.formObject.hiddenObject
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.