State change when back button click

66 Views Asked by At

I'm implementing search function on my project. I have three text boxes and a search button

  1. Fist Name
  2. Second Name
  3. Age

Search button generate search on another result page. The problem is that, when I click back button from the result page, Then the Age text box filled with first Name data which I enter previously and first name field remains empty. How did it happen.

0

There are 0 best solutions below