mirror of
https://github.com/xodivorce/xeorl.git
synced 2025-12-20 00:29:34 +05:30
v4.0.0
This commit is contained in:
13
htdocs/assets/js/_email.js
Normal file
13
htdocs/assets/js/_email.js
Normal file
@@ -0,0 +1,13 @@
|
||||
function storeEmailAndContinue() {
|
||||
// Get the email entered by the user
|
||||
var email = document.getElementById('email').value;
|
||||
|
||||
// Store the email in sessionStorage
|
||||
sessionStorage.setItem('userEmail', email);
|
||||
|
||||
// Redirect to the next step
|
||||
location.href = 'forgot_pass_step_two.php';
|
||||
}
|
||||
|
||||
// Retrieve the email from sessionStorage and display it
|
||||
document.getElementById('userEmail').textContent = sessionStorage.getItem('userEmail') || 'hygeonhealth@example.com';
|
||||
Reference in New Issue
Block a user