title: How to save the state of HTML page (after jQuery Modification)
body: <p>Hello I'm creating a <code>HTML5</code>/<code>CSS3</code>/<code>javascript</code> card game which interacts with a <code>node.js</code> server and I used <code>socket.io</code> as the transport layer between the server and the client.
  I want to save the state of the <code>HTML</code> page after <code>jQuery</code> modifications (a card is dealt or drawn, players connected...) in the server, so when the player disconnect and reconnect the server give him the saved state and he can see the state of the page as he left, or if the player disconnects another player can take his place. </p>
  
  <p>So any mechanism on how to save game state with <code>jQuery</code> modifications will be so much appreciated. I've searched a lot but I don't seem to find a solution.</p>