-1

I have a form where user enters the username/email in login.html partial and clicks on forgot password link. Now the user is being redirected to forgotpwd.html, but I am unable to access the username/email that the user entered earlier. I know this can be done using service but I am unable to do so, please do let me know how this can be done. I appreciate your help.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
candy4u
  • 1
  • 2

1 Answers1

0

You can use HTML5 storage objects such as sessionStorage or localStorage.

Please take look this - Share data between html pages

Some other examples -
Sharing a variable between multiple html pages
how to exchange variables between two HTML pages?

Community
  • 1
  • 1
Ishtiyaq Husain
  • 434
  • 4
  • 11
  • How does this exactly help with the question? Why don't you provide a fitting code sample? – dakab Jan 01 '16 at 21:09