title: jplayer multiple mp3 file links in one page
body: <p>I use jplayer in my page and when clicked a link I want to play the clicked one. However every time test1.mp3 is played. How can I solve it? The code is below:</p>
  
  <p>the page is as follows if needed:</p>
  
  <p><a href="http://www.dilyurdu.com/audio.htm" rel="nofollow">http://www.dilyurdu.com/audio.htm</a></p>
  
  <pre><code>function listen(mp3_index){ 
  
      var mp3_file;
      mp3_file="test"+mp3_index+".mp3";
  
  
       $("#jquery_jplayer_1").jPlayer({ 
          ready: function(event) { 
              $(this).jPlayer("setMedia", { 
                  mp3: mp3_file, 
          }); 
       }, 
      swfPath: "http://www.jplayer.org/2.1.0/js", 
      supplied: "mp3" 
    });   
  
  } 
  </code></pre>
  
  <p>links are as follows:</p>
  
  <pre><code>&lt;div id="jquery_jplayer_1" class="jp-jplayer"&gt;&lt;/div&gt;
  
  &lt;a href="javascript:listen(1);" class="jp-play" &gt;play 1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;     
  
  &lt;a href="javascript:listen(2);" class="jp-play" &gt;play 2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
  
  &lt;a href="javascript:listen(3);" class="jp-play" &gt;play 3&lt;/a&gt;
  </code></pre>