I am doing a match "live timing" where an administrator sends to a database new inputs like: "Team A scores! 1-0". This is shown in a public website inside a <div />
and I want to get the new inputs and print it. I've never done something similar and I don't know what is the way to go.
I also have some doubts:
- It's posible that the server sends the content to a X browser? So do the browser will only be on "idle"?
- It's possible to only refresh when the user is active on the browser? Like Facebook does, if you're not present on the browser or moving your mouse over you don't get updates.
- It's possible to append only to the
<div />
the new items and not refresh all of it?
Thank you in advance!