M
M
marataziat2016-08-15 05:26:48
Socket.io
marataziat, 2016-08-15 05:26:48

How can I change the text on the website using socketio?

I need to change the text on my site depending on what I say in the console, for example, I need the user not to reload the page so that the text changes, so I need to stream the text :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D', 2016-08-15
@marataziat

First you need to break the task into subtasks:
- Raise the websocket server
- Establish client-side communication with the websocket server
- Establish communication from the console with the websocket server
- Change the data on the page to the data received via the websocket.
Now we open Google, take each item, add the keyword "HOW" at the beginning and read.
Everything is simple!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question