This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Ajax Search Pro – remembering after back button

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Ajax Search Pro – remembering after back button Reply To: Ajax Search Pro – remembering after back button

#34508
Ernest MarcinkoErnest Marcinko
Keymaster

I think so. I will add an event to the document.body, which you can trigger to memorize the state:

asp_memorize_state_{search_ID}

So you can trigger this event before the redirection (when clicking the button), like so:

document.body.dispatchEvent(new Event('asp_memorize_state_1'));

..then after redirection clicking the back button will restore the search state.