Saturday, 5 January 2019

pjax : html link that works like browser back button

im using pjax for my website navigation , i need to create a html back button that exactly works like the browser back button ... but this one should be a simple html link ... how ccan i create a pjax link that navigates to previous link ?

i've searched and all the topics seems to be about browser back button which is not what i want

this is the code i use for my pjax navigation

 $(function() {
        $(document).pjax('.pjax', '#pjax-container', {
            fragment: '#pjax-container',
            timeout: 9000000 ,
        });
    });



from pjax : html link that works like browser back button

No comments:

Post a Comment