title: jquery loading spinner or loading message while JS running
body: <p>Is there a way to show a loading spinner while my javascript is running?</p>
  
  <p>I want toshow something to the user while the page is waiting.....</p>
  
  <p>This is taking about 5-6 secs..so I want to show a spinner or box while its waiting</p>
  
  <pre><code>$.each(ARRAY, function(key, item){
                              //IM DOING SOME LOGIC HERE
                          });
  </code></pre>