The project is a three-frame model, top, middle, left. Demand is that I perform a certain action, update the top header information, how can this be achieved?
For example: I insert a data into the database in a PHP script and then insert it successfully, then refresh the top page. Similar to this
Reply content:
The project is a three-frame model, top, middle, left. Demand is that I perform a certain action, update the top header information, how can this be achieved?
For example: I insert a data into the database in a PHP script and then insert it successfully, then refresh the top page. Similar to this
When performing the operation, use JS to send the request back end, return the data to modify the specified content
ajax
Oriframe
Long connection with WebSocket
Ajax asynchronous can be implemented, each successful operation, Ajax to the service end pull top template, append up