title: Loop audio with JavaScript
body: <p>I have the next code</p>
  
  <pre><code>var audioElement0 = document.createElement('audio');
  audioElement0.setAttribute('src', 'notify.wav');
  audioElement0.setAttribute('autoplay', 'autoplay');
  audioElement0.Play(); 
  
  var audioElement1 = document.createElement('audio');
  audioElement1.setAttribute('src', 'notify.wav');
  audioElement1.setAttribute('autoplay', 'autoplay');
  audioElement1.Play(); 
  
  var audioElement2 = document.createElement('audio');
  audioElement2.setAttribute('src', 'notify.wav');
  audioElement2.setAttribute('autoplay', 'autoplay');
  audioElement2.Play(); 
  </code></pre>
  
  <p>but it only plays once... How can I fix it?</p>