Loads a URL with ajax, puts the response body inside a container, then pushState()'s the loaded URL. Works just like $.ajax in that it accepts a jQuery ajax settings object (with keys like url, type, data, etc).
PJAX settings, which is a superset of jQuery AJAX settings. It includes the following specific options:
PJAX default settings.
PJAX on click handler.
A jQuery click event.
PJAX settings, which is a superset of jQuery AJAX settings. It includes the following specific options:
PJAX on click handler.
A jQuery click event.
A jQuery selector indicates where to stick the response body. E.g., $(containerSelector).html(xhr.responseBody).
PJAX settings, which is a superset of jQuery AJAX settings. It includes the following specific options:
containerSelector
parameter has priority.Disable pushState behavior. This is the case when a browser doesn't support pushState. It is sometimes useful to disable pushState for debugging on a modern browser.
Install pjax functions on $.pjax to enable pushState behavior. Does nothing if already enabled.
Reload current page with pjax.
PJAX on form submit handler
A jQuery click event.
PJAX settings, which is a superset of jQuery AJAX settings. It includes the following specific options:
PJAX on form submit handler
A jQuery click event.
A jQuery selector indicates where to stick the response body. E.g., $(containerSelector).html(xhr.responseBody).
PJAX settings, which is a superset of jQuery AJAX settings. It includes the following specific options:
containerSelector
parameter has priority.