For example, ajax is triggered by an action on the front-end page, and the data is retrieved from the background, and then dynamically returned to the front-end. for example, you can modify html elements without any additional modification. in turn, some code is executed by the php backend. If the code is successful, the code of the front-end page will be dynamically modified to achieve no refreshing. Is this technology available? For example, ajax is triggered by an action on the front-end page, and the data is retrieved from the background, and then dynamically returned to the front-end. for example, you can modify html elements without any additional modification. in turn, some code is executed by the php backend. If the code is successful, the code of the front-end page will be dynamically modified to achieve no refreshing. Is this technology available?
Reply content:
For example, ajax is triggered by an action on the front-end page, and the data is retrieved from the background, and then dynamically returned to the front-end. for example, you can modify html elements without any additional modification. in turn, some code is executed by the php backend. If the code is successful, the code of the front-end page will be dynamically modified to achieve no refreshing. Is this technology available?
- 2 hours ago
- 1 comment
- Reply
Please log on first and then comment
Sort by default
Two answers
The answer is helpful to people and has reference value.2The answer is not helpful. It is a wrong answer.
Websocket pushes data to the front end
Both comet and websocket can be used, but they all need to be connected by the client.