There are a number of different things you could use. You should probably take a look at Node.js and websockets. Alternatively, you can check out some recent solutions, such as Angular.js (by Google) and Meteor. Good luck!
1
solved Creating a notification using javascript and do that when the server says so [closed]