javascript - Refresh DIV by command from server -
i want have page uses mysql database information, let's 0 or 1
i want page auto refresh div value 0 or 1 database @ specific interval.
but viewing page same information @ same time. server in charge of interval.
how this?
there several possibilities:
1) websockets latest of technologies. if want near realtime update of page , have infrastructure providing possibilities, way go
2) comet or long polling
second alternative
3) primitive - working - startingpoint poll server. stackoverflow article
Comments
Post a Comment