G
G
guerragro2020-06-03 10:24:24
1C-Bitrix
guerragro, 2020-06-03 10:24:24

Update interface?

There is an interface that displays data from the infoblock, by clicking on each element, a modal window pops up, I use ajax to pass this data to ajax.php, access the desired infoblock and transfer the received data to the modal window and save it, the data is added to the infoblock, the new element appears only after a reboot. How to do it without reboot
Started doing this recently

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mirexdoors, 2020-06-03
@mirexdoors

After receiving a response from the server, make another request to the same page on which the component is called, find the container with the updated list of elements in the response and replace the old container (which is now on the page) with it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question