Home > Web Front-end > HTML Tutorial > Problem with Chinese characters displayed inside the password input box_html/css_WEB-ITnose

Problem with Chinese characters displayed inside the password input box_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:24:33
Original
2413 people have browsed it

input login password input box

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.


2. Solution
We use HTML
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template