Skip to content
Advertisement

Tag: html5-history

Single-page-application with HTMX, URL browsing history and manual reloading of a page

I have an application with fixed header and footer (it is important that they are not reloaded when we navigate through pages). I use HTMX. The attribute hx-push-url allows to have browsing history through the pages: we can use the “back” and “forward” buttons, and it works as expected: index.html: newpage1: newpage2: After having clicked on “Go to newpage1” button,

Advertisement