• Anil Kumar

    (@anilatdeoghar)


    Hi,

    I just going through the js script where ajax is getting called on the click event.

    Suppose , we have a list of items based on that we can refine the search.
    If click any category from that list. It will display the posts accordingly. Because ajax is called on click event.

    After refining the result page. if some one click on any post and view the post. and go back to previous page clicking on the back button of broswer button. It seems, all filtered values have been reset.

    How can it be restored its previous values after pressing the back button.

    Can you please check on this ?

    https://wordpress.org/plugins/ultimate-wp-query-search-filter/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TC.K

    (@wp_dummy)

    Ajax by default will not remember the history state of the form. If you really want this, maybe you’ll need some javascript hack.

    Thread Starter Anil Kumar

    (@anilatdeoghar)

    what kind of javascript hack?

    Plugin Author TC.K

    (@wp_dummy)

    You can refer to this solution.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Not retaining its data when back button is clicked’ is closed to new replies.