title: How to create a persistent connection to a server using JavaScript?
body: <p>Is it possible to create a persistent HTTP connection using Javascript?</p>
  
  <p>I would like to create a simple script that open a persistent HTTP connection to my server and print the result on a <code>&lt;div&gt;</code>. The server send string each one second so I don't want to open the connection every second...I prefer ONE connection and print the values when are available. Is it possible?</p>
  
  <p>Thanks</p>