title: setInterval on array
body: <p>Is it possible to do the following using javascript/jquery?</p>
  
  <p>using setInterval with an array of function names, if the array only has 1 function, it should do the following if the user opens the webpage at 10:00:00</p>
  
  <pre><code>function 1 - 10:00:00
  function 1 - 10:00:01
  function 1 - 10:00:02
  function 1 - 10:00:03
  function 1 - 10:00:04
  </code></pre>
  
  <p>then if the user clicks another button, a new function name gets added to the array, which ends up doing the following:</p>
  
  <pre><code>function 1 - 10:00:05
  function 2 - 10:00:06
  function 1 - 10:00:07
  function 2 - 10:00:08
  function 1 - 10:00:09
  function 2 - 10:00:10
  function 1 - 10:00:11
  function 2 - 10:00:12
  function 1 - 10:00:13
  </code></pre>
  
  <p>if the user clicks the button a 3rd time, a new function name gets added to the array, which ends up doing the following:</p>
  
  <pre><code>function 1 - 10:00:14
  function 2 - 10:00:15
  function 3 - 10:00:16
  function 1 - 10:00:17
  function 2 - 10:00:18
  function 3 - 10:00:19
  function 1 - 10:00:20
  function 2 - 10:00:21
  function 3 - 10:00:22
  </code></pre>
  
  <p>Is this possible?  If it is possible, could someone please help me with some example script on how to get this to happen?</p>