title: playing audio when a button is clicked in html django template
body: <p>i have the following html code snippet:</p>
  
  <pre><code>&lt;audio controls&gt;&lt;source src="{{sound.sound.url}}" type="audio/mpeg" id="yourAudioTag"&gt;Your browser does not support the audio element.&lt;/audio&gt;
  &lt;button id="play"&gt;Play&lt;/button&gt;
  &lt;script&gt;
      $(document).ready(function() {
          var audioElement = document.getElementById('#yourAudioTag');
  
          $('#play').click(function() {
              audioElement.play();
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>but it doesn't seem to play the audio when i click on the button PLAY.
  how can i do it?</p>