Skip to content

Make all hyperlinks ajaxified #298

Answered by jiripudil
trta911 asked this question in Support
Mar 20, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hello, yes, you can change the selector to an empty string which will cause Naja to match all links and forms. You should do this prior to calling naja.initialize().

naja.uiHandler.selector = ''

Note that Naja only handles requests leading to an allowed origin, others are still handled natively by the browser.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@trta911
Comment options

@jiripudil
Comment options

@trta911
Comment options

Answer selected by trta911
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants