New Project

This commit is contained in:
2022-11-29 15:51:25 +05:30
commit ea4f642706
1585 changed files with 17100 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
function showOtpBox() {
document.getElementById('div_ForgotPswd').style.display = 'none';
document.getElementById('modal_Otp').style.display = 'block';
}
function showPasswordBox() {
document.getElementById('modal_Otp').style.display = 'none';
document.getElementById('div_ResetPswd').style.display = 'block';
}
function showSuccessBox() {
document.getElementById('div_ResetPswd').style.display = 'none';
document.getElementById('div_SuccessMsg').style.display = 'block';
}
+34
View File
@@ -0,0 +1,34 @@
document.getElementById('passwordBox').style.display = 'none';
function showPasswordBox() {
const email = document.getElementById('email').value;
if (email.length > 0) {
document.getElementById('emailBox').style.display = 'none';
document.getElementById('passwordBox').style.display = 'block';
document.getElementById('entered-email').innerHTML = email;
}
}
function onEyeClick() {
const ele = document.getElementById('showPassword');
const password = document.getElementById('password');
if (password.value.length > 0) {
document.getElementById('password').value = password.value;
password.focus();
if (ele.checked) {
password.setAttribute('type', 'text');
} else {
password.setAttribute('type', 'password');
}
}
}
function onPasswordFocus() {
const password = document.getElementById('password');
if (password.value.length > 0) {
document.getElementById('password-label').classList.add('password-fixed');
} else {
document
.getElementById('password-label')
.classList.remove('password-fixed');
}
}