Reload Div SetInterval only when there is a new record

0

Hello

I would like to understand how to reload a div only when a new record was performed in the database. The trigger of this action would be as in a setInterval, but not every xxx seconds, but rather when the new insert or update occurred, delete ...

For example, even with the system screen stopped, without any action, I would receive the update of this div when another user made a new record on another machine with his login.

Has anyone done this, or know how ???

    
asked by anonymous 28.11.2017 / 14:13

0 answers