vendredi 27 mai 2016

How to send event from laravel to Javascript client about save() to database?

I need refresh js DOM when database is updated without reload page.

In first time i thought send ajax post with delay 3 second. But it's bad idea.

Right way, server must announce js.

How to send event from laravel to Javascript client about save method to database mySql?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1X1bGSG
via IFTTT

Aucun commentaire:

Enregistrer un commentaire