|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
live update
i'm trying to make a shoutbox,
But i would like it to be live. When a user submits a message it will refresh on everyone's page? don't have a clue where to start to think about that. could any one help me with some info or hints where i could start gattering information thanke you.. |
|
#2
|
||||
|
||||
|
RE: live update
My immediate thoughts would be to use javascript.
and that's pretty much where my thoughts stop.... |
|
#3
|
|||
|
|||
|
RE: live update
thats not very easy to do, but it can be done.
you should look at the source code of some php based chat scripts, that should give you an idea of how they do it. otherwise, you can use javascript to query your server every 5 seconds or so, and just keep updating the innerHtml. i bet thats how the php chat systems do it, using the javascript xmlhttp object might make your job easier and more robust, but youll need to learn it, and theres differences in how IE and other browsers handle it. good luck |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > live update |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|