1、引入大写提示的js文件

<script type="text/javascript" src="js/Capital_tip.js"></script>

2、页面中调用js

window.onload = function() {
    checkUpCase('pwd', 'capital01');//pwd是密码框的id    capital01这是大写提示的提示信息的id
}

3、图片中有案例

要求开启密码大写提示

相关文章:

  • 2021-09-10
  • 2022-12-23
  • 2021-10-25
  • 2021-10-21
  • 2021-07-13
  • 2021-09-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2021-05-11
  • 2021-06-02
相关资源
相似解决方案