I am making a chatroom that uses ajax in javascript to update and send messages. I was wondering if it was possible to do something like this -
If a chat message was sent (chat.send), then make everyone else in the chatroom do a chat update (chat.update).
I'm not sure where to start on this.