Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
198 B
2
Indexable
Never
socket.on('join.room', (count) => {
    $('.total-user-count').text("Total Online User: " + count);
});
socket.on('message.send', (message) => {
    $('.chat-message-area').append(`${message}`);
});