I'm using pjax for my website navigation. I need to create a HTML back button that works exactly like the browser back button. But this one should be a simple HTML link. How can I create a pjax link that navigates to the previous page?
I've searched and all the topics seem to be about browser back button, which is not what I want
This is the code that I use for my pjax navigation
$(function() {
$(document).pjax('.pjax', '#pjax-container', {
fragment: '#pjax-container',
timeout: 9000000 ,
});
});