i want to create a chat with html but when i send a message from my window i don't know how to refresh the receiver window with html
Please help
you can't!.
you will need to periodically refresh the page to check for updates.
you could use ajax to that in the background, but there is no way to "push" data to an end=user.
it might be possible using flash...
i made an ajax based im program last winter.
it used serverless webspace to store the current message in a tiny text file.
i defaulted to checking every 30 seconds normally, and every 7 seconds when the last change was within 5 mins.
if anyone know a better way, i think this is an interesting idea, and would like to see some examples.