A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Modify DOM with AJAX for all sessions?
Joined: Dec 21, 2012
Aug 28, 2013 09:00:54
Let's say some user comments on a page. With ajax I update the HTML to include the users comment. How can I update all of the users HTML currently watching the comment page? How is this done? I cound't really find anything useful.
Author and ninkuma
Joined: Jan 10, 2002
Aug 28, 2013 09:08:39
Write the data to the database; have the pages occasionally poll looking for updated data.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Modify DOM with AJAX for all sessions?
Welcome Ryan Asleson and Nathaniel Schutta
Struts 1.1 forward mapping problem
Ajax, Java, JSP
Ajax and post messages
How to use refresh in servlets?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015