Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Chat room refresh

Status
Not open for further replies.

ahc142a

Technical User
Aug 4, 2001
30
GB
I am creating a chat room, but at the momemnt i have to refresh the whole page every few seconds or so to update the input from other users who are logged in. Is there some way to continually refresh only one cell within a table, which in effect is what my chat room is.
OR any other suggestions ?

 
This may seem a roundabout way of doing it, but what I have done is create a hidden frame. (A frame not visible by the user) and have that frame refresh the data. Then after it is refreshed, use javascript to refresh the parent frame with the data. So the whole page is not refreshed -- just the data part.

here is a url that explains it in more detail -- it may seem a little much at first, but you get the idea:


P.S. I didn't write the article - just passing it along :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top