Let's say I have a page with some html elements. These elements are textboxes, checkboxes, radiobuttonsand other custom features.
I need the ability to transfer the whole page from client1 to client2, so client2 will see everything that client1 has installed in the html elements.
I use WebSocket technology for this, but I do not know how to transfer these elements. If I pass document.body.innerHTML, then client2 will see empty elements instead of filled ones.

html. - , websocket? document.body ?
- html-. script . http + websocket, .