How can I play sound in jquery when click a button
<p>i trying to play a sound file when i click the button, but it's not working,   my html code is :</p>

<pre><code>&lt;html&gt;  
&lt;body&gt;  
&lt;div id="container"&gt;  
  &lt;button id="play"&gt;Play Music&lt;/button&gt;
&lt;div&gt; 
&lt;/body&gt; 
&lt;/html&gt;
</code></pre>

<p>my script is :</p>

<pre><code> $('document').ready(function () {
    $('#play').click(function(){  var audio = {};  audio["walk"] = new Audio();  
    audio["walk"].src = "http://www.rangde.org/static/bell-ring-01.mp3" 
    audio["walk"].addEventListener('load', function() {  audio["walk"].play();  });  });    
 });
</code></pre>

<p><a href="http://jsfiddle.net/sureshpattu/gD4Dr/1/">i tried here this is my jsfiddle</a></p>
