After ajax renders the data, how to make the data change only when there is a change, and the rest remain unchanged.

there are two interfaces in the background, one of which renders a page of list data with a template engine; then the second interface returns the changed data, and the unchanged interface does not return. How to update the changed data on the page in real time? There is no problem with the timer. Now is how to change the changed data instead of updating all the data, and the second interface returns only part of the data (changed data) of the first interface.


browsers are not that stupid. One by one for you to update. Your batch replacement is better than one change. More efficient. Just take a test yourself.

if you don't understand. You can use some data binding frameworks.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4833d-44ca1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4833d-44ca1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?