I am using the Pjax at the navigation menu and switching some selectors at the page. My issue is that there is a class that exists only at the website homepage and I like Pjax to add it when the user browses to the homepage and remove it when the user browses to another page.
Are there is a way to do it without bypass the Pjax object?
I am using the Pjax at the navigation menu and switching some selectors at the page. My issue is that there is a class that exists only at the website homepage and I like Pjax to add it when the user browses to the homepage and remove it when the user browses to another page.
Are there is a way to do it without bypass the Pjax object?