Answer the question
In order to leave comments, you need to log in
How to update block content without reloading?
I have this piece of code
if (status['total_count'] < 1) {
location.reload();
}
Answer the question
In order to leave comments, you need to log in
In this code, this cannot be done.
There is a ready-made PJAX lib - updates pages without reloading
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question