I have created a website on my company intranet where employees can upload their work and recieve feedbacks from their supervisors and managers. And now I m trying to do something like facebook does, when somebody leaves a comment or does any activity you get a notification while you are on the page.
So I did it using jQuery ajax, and I m making ajax request to check the database after every 8 seconds using setInterval(); and its working fine however I was thinking if there is some better way of doing it. I mean is there any plugin which has been creating specially for doing this.
Thanks
Sayed Taqui