title: XMLHttpRequest error 0 proper management (retry the request)
body: <p>When XMLHttpRequest gets error 0 it means there is no connection and most of the times you just want to retry in some time.</p>
  
  <p>Is there a simple way to transparently retry the XMLHttpRequest notifying the user the connection is lost (just like gmail does)?</p>
  
  <p>(I am using jQuery)</p>