updater. I’m trying to do a chat application and it’s an issue of
holding on the the div id. I have no problems when the user clicks on a
submit button to sends a message to the presence server. On the other
side of it though, I’m using periodicupdater to poll the server for the
messages to act as the listener, the problem is that bec I can’t hold on
to the div id, the messages being retrieved from the presence server are
being broadcasted to all of the divs.
I know that the only way to capture the div id is if an event was
triggered. So to try and solve the problem of the listener, I had
thought of creating the listener into a form where a “hidden button”
will actually be triggered periodically. Holding on to the button allows
me to hold on to the div element. But with this solution, is there a way
for me to periodically update that button? How would I create my
periodic update if my server listener app was a form and my event was a
hidden button…or is there a way to do this aside from using an
any help would be very much appreciated!