Home > Web Front-end > JS Tutorial > Enter password to detect whether capital letters are locked js implementation code_javascript skills

Enter password to detect whether capital letters are locked js implementation code_javascript skills

WBOY
Release: 2016-05-16 17:47:28
Original
1383 people have browsed it

Not even this month. Must make up the number.
For better user experience, the website login will check whether capitalization is enabled when entering the password. Alert users.
Test it in the input box below! This code comes from .
But I made a little improvement.
Mainly performs real-time detection of Caps Lock for activated input boxes.

Copy code The code is as follows:






Related labels:
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