Is there a way to reload/refresh the contents of an HTML page without closing the open socket to the server? All the options mentioned here appear to be closing the socket.
I would like to do such a thing whenever a node server is sending a JSON message with the new values for a specific part of the page. So, the client has the new data, but apparently with jQuery I can not update the webpage. (No, the jQuery that I have already works because the first time the client is connected, the same jQuery is used to load the page. I can see the webpage fine; however, when I request to view the source code of the HTML page I can not see anywhere what I am actually seeing on the screen.)
Any ideas? Thanks in advance.