0

How do I update div across all devices?

Im working on a live chat for my website and don't know how to make the live part. I've looked it up with no results. Please help.

7th Jul 2021, 12:01 AM
bgcnhgfjd
bgcnhgfjd - avatar
3 odpowiedzi
+ 1
Depends on which language in your application? Java, nodejs,... You can search for web socket of that language. The idea is that there will be a place/way to listen all time, when receive data, show in div. If you already successfully with 1 client/device, working on multiple client, search socket with multiple client.
7th Jul 2021, 6:31 PM
Phan Thanh Bình
Phan Thanh Bình - avatar
0
Phan Thanh Bình I'm trying to do it in javascript or jquery if that helps at all.
7th Jul 2021, 8:35 PM
bgcnhgfjd
bgcnhgfjd - avatar
0
It is just your project, right? Then you can search javascript socket 2 ways communication. But if you want to do this properly, you should build a backend also, nodejs will be easier since it's javascript.
8th Jul 2021, 5:35 AM
Phan Thanh Bình
Phan Thanh Bình - avatar