title: How can i call javascript function into src element of Audio tag in HTML5
body: <p>Following is my code where i have written one function in JavaScript and trying to call it in src element of audio tag. also want to know that whether 
       return "<a href="http://translate.google.com/translate_tts?tl=en&amp;q=this" rel="nofollow">http://translate.google.com/translate_tts?tl=en&amp;q=this</a> is a test" + File;</p>
  
  <pre><code>statement is ok to get google TTS audio file?
  
  &lt;html&gt;
  &lt;body&gt;
  &lt;script language="javascript" type="text/javascript"&gt;
  function myFunction()
  {
      var File = "this is a test";
      return "http://translate.google.com/translate_tts?tl=en&amp;q=this is a test" + File;
  }
  &lt;/script&gt;
  &lt;audio id="speech" src="javascript:myFunction();" controls="controls" autoplay="autoplay"&gt;&lt;/audio&gt;
  </code></pre>
  
  <p>
  </p>