Implemented through js: some code is as follows: varpassworddocument. getElementById (logonPwd ). value; vardefapasspassworddocument. getElementById (logonPwd ). defaultValue; you can compare passworddefapassword password (in the password box when loading the page) to determine the Password box
Implemented through js: some code is as follows: var password = document. getElementById (logonPwd ). value; var defaultPassword = document. getElementById (logonPwd ). defaultValue; you can compare password = defaultPassword (in the password box when loading the page) to determine the password box
Implemented through js: some code is as follows:
Var password = document. getElementById ("logonPwd"). value;
Var defaultPassword = document. getElementById ("logonPwd"). defaultValue;
You can compare password = defaultPassword (the value in the password box when the page is loaded) to determine whether the password in the password box has been modified.