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?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire