Last post Jan 16, 2018 10:12 AM by Fei Han - MSFT
Jan 12, 2018 07:35 PM|hasanade|LINK
I have two issues and hopefully someone have solutions for these issues.
Hopefully someone have thoughts on these two issues.
Jan 13, 2018 11:33 AM|mgebhard|LINK
Ajax doesn’t remember the section it had opened, it always defaults to the first section when you navigate away
AJAX does not "remember". AJAX is used to make client HTTP requests. It is up to the programmer to write code that remembers the state of the user's input.
When I share link with someone else, I noticed the intended section doesn’t open and it default to first section.
Again, it is up to the programmer to handle the expected state.
Is there anyway you can post your code and explain how the code is expected to function and what actually happens.
Jan 16, 2018 10:12 AM|Fei Han - MSFT|LINK
You can try to store the index of active section in somewhere, such as
web storage (store data locally within the user's browser) or external storage (a database table etc) , and then retrieve the active section index and set that section as active after do navigation.