1. Requirements Description The login interface must look like the picture below, if is used. When the password entered by the user becomes clear text, this does not meet the requirements. When changing the type attribute of to passowrd. The default "password" becomes "??". Some people may think of using js to dynamically change the type attribute of input. This method is feasible in some browsers such as Firefox. But there is nothing you can do to get it when you encounter the evil IE. In IE, the type attribute of input is read-only. In order to solve the compatibility issues of various browsers, the following methods are used.
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn