Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question