join method is not working in jquery
<p><a href="http://jsfiddle.net/JPPHm/5/" rel="nofollow">JSFiddle</a></p>

<pre><code>$(".commentbox").on("click",".btnSave",function(){


         var id = $(this).attr("id").split("-");
            alert(id);
            id.shift();
            alert(id);
            var newString = id.join('-');
            alert(newString);


   });       
});​
</code></pre>

<p>Input is <code>btnSave-88eC4B8D2-8F96-4EB5-B42E-08C540D7F171</code></p>

<p>Output :<code>88eC4B8D2,8F96-4EB5,B42E,08C540D7F171</code></p>

<p>Whereas it works fine for <code>btnReply</code> button Why
Please help me out</p>
