Navdeep Dhillon Rank: Jedi Master Posts: 261 Join Date: 11/10/15 Recent Posts | Hi Ashish, It depends a bit on how you change the color of the button in the first place. But overall, to "remember" if a button has been clicked, you'll want to create a variable for each button and when that button is clicked, set the variable for that button to 'true'. And when page 2 loads, if say buttons 2 and 3 have already been clicked, you'll want to set those buttons to the clicked color immediately.
There might be other, more efficient, ways to do this - such as putting the buttons on a Master Page. We would have to see the lesson to get more context.
Hope that helps!
- Nav |