L
L
Lolo Penguin2019-12-10 19:27:03
Django
Lolo Penguin, 2019-12-10 19:27:03

How to execute a function on click?

My page is redirected after executing some code, and how to make it so that when it goes to the url, the address bar does not change.
Thank you)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Tikhonov, 2019-12-12
@ledo02

To "do not change the address bar" - you need to do xhr-requests from the frontend, and make an API on the backend. In short, read-not-reread again.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question