jquery, how to get different values from links with the same class?
<p>i have this <a href="http://jsfiddle.net/HysJ6/11/" rel="nofollow">jsfiddle</a> script</p>

<p>what happens is that the 2 alerts have the same number. and it should me one with <code>123</code> and the other one with <code>555</code></p>

<p>the thing is that i have to have the same classes</p>

<p>see here:</p>

<pre><code>&lt;ul class="tabs"&gt;
&lt;li&gt;&lt;a href="#tab1"&gt;Home&lt;/a&gt; | &lt;/li&gt;
&lt;li&gt; | &lt;a href="#tab2"&gt;Top 10&lt;/a&gt; | &lt;/li&gt;
&lt;li&gt;&lt;a id="mine" href="#tab3"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div id="tab1" class="tab_content"&gt;
&lt;ul&gt;
 &lt;li&gt;
&lt;div class="cont_picture"&gt;&lt;a id="mine_click" href="#" &gt;a test&lt;/a&gt; | &lt;/div&gt;
&lt;div id="number"&gt;123&lt;/div&gt;
&lt;/li&gt;&lt;li&gt;
&lt;div class="cont_picture"&gt; | &lt;a id="mine_click" href="#" &gt;a test1&lt;/a&gt;&lt;/div&gt;
&lt;div id="number"&gt;555&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div id="tab2" class="tab_content"&gt;234&lt;/div&gt;
&lt;div id="tab3" class="tab_content"&gt;2222&lt;/div&gt;
</code></pre>

<p>and:</p>

<pre><code>    var strtalentnum;
$('#mine_click').live('click', function() {
        strtalentnum = $('#number').text();
        $('#mine').trigger('click');
});

$("#mine").click(function(){
    if(strtalentnum){
         alert (strtalentnum);
    }
});



//When page loads...
$(".tab_content").hide(); //Hide all content
$("ul.tabs li:first").addClass("active").show(); //Activate first tab
$(".tab_content:first").show(); //Show first tab content

//On Click Event
$("ul.tabs li").click(function() {
    $('ul.tabs li#none').removeClass('visible');
    $('ul.tabs li#none').addClass('none');
    $("ul.tabs li").removeClass("active"); //Remove any "active" class
    $(this).addClass("active"); //Add "active" class to selected tab
    $(".tab_content").hide(); //Hide all tab content

    var activeTab = $(this).find("a").attr("href"); 
    $(activeTab).fadeIn(); //Fade in the active ID content
    return false;
});
</code></pre>

<p>any ideas on how to fix this?  i've tried to use <code>$(this)</code> but it looks like the alerts dont appear no more</p>

<p>thanks</p>
