HTML5 audio tag dynamic src ajax it does not play
<p>I am working with Ajax getting the audio source from the data base. I successful took the data but the problem is it does not play.</p>

<pre><code>&lt;label&gt;balay&lt;/label&gt;
&lt;audio id="audio" src="" type="audio/wav"&gt;
</code></pre>

<p>this is the HTML</p>

<pre><code>$('label').hover(function(){
var ex = $(this).html();
$.post('../php/fetchAudiosrc.php' , {input:ex} , function(data){
    $('#audio').attr("src", data);
    $('#audio').get(0).play();
}
</code></pre>

<p>I dont need to show the fetchAudiosrc.php because it return the correct data. the problem is the audio does not really play.</p>