title: Trigger click event on an audio download link
body: <pre><code>&lt;a href="http://www.somesite.com/sometrack.mp3" onclick="trackDownload('sometrack.mp3')"&gt;
      &lt;button&gt; Download &lt;/button&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>I need to trigger a download as well as trigger the JavaScript  function trackDownload().</p>
  
  <p>trackDownload() is an Ajax function, so ideally after completing the ajax call we need to trigger the download. </p>
  
  <p>But unfortunately this does not happen. I believe its because the page navigates to the download link.</p>
  
  <p>Is there a workaround? I did think of a JS function that does the tracking and redirect to link. But thought of taking a second opinion to stack overflow experts. </p>