title: how to jquery append only one time if i have two hosts?
body: <p>i have dinamically crated page that fetch db data and print it on page. Project stored on claster contains two hosts. If i use <code>append()</code> method it dublicate data, because each host make <code>append()</code> call. So my question is how to make append only one time if two hosts run directly at the same time? For example i do</p>
  
  <pre><code>var arr = ["NY", "LA", "CA", "ETC"]
  for (var i in arr){
      $('#container').append(arr[i])
  </code></pre>