Skip to content

Use pjax without making a server request #381

@marczking

Description

@marczking

Sometimes I want to only change some small things with JS only for which I don't need to make a request to the server. I would still like to change the history.pushState though.

When using history.pushState manually I get my wished behaviour, only problem is when navigating with back/forward-buttons pjax:popstate does not fire on the manually set pushstates.

So is there a way I can do this with pjax?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions