title: Trigger the share button click on clicking another button
body: <p>I have the following code</p>
  
  <pre><code>&lt;div class="event_starpline"&gt;
      &lt;div style="width:71%;float:left;"&gt;
          &lt;div id="starpline_timestamp_location" 
               title="Location&amp;nbsp;: Chennai"&gt;Chennai&lt;/div&gt;
          &lt;div id="starpline_timestamp_posted" 
               title="Posted &amp;nbsp;Jan 30, 2013" 
               style="margin-left:10px;"&gt; 
              &lt;acronym title="30 January 2013 @ 8:58am"&gt;471 days ago&lt;/acronym&gt;
          &lt;/div&gt;
          &lt;div id="starpline_timestamp_refer" 
               title="Refer your friends" 
               style="margin-left:10px;"&gt; 
              &lt;a href="#"&gt;Refer your friends&lt;/a&gt;
           &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="starpline_right" style="width:28%;"&gt;
          &lt;div style="float:left; width:108px; padding-top:5px;"&gt;
              &lt;!-- AddThis Button BEGIN --&gt;
              &lt;div class="addthis_toolbox addthis_default_style addthis_20x20_style" 
                  addthis:url="http://10.0.1.22/firstplanet/fpin/dev/pg/ad/read/39342/community-developer-4" 
                  addthis:title="Community developer 4" 
                  addthis:description="Job" description=""&gt; 
                      &lt;a class="addthis_button_twitter addthis_button_preferred_2 at300b" 
                         title="Tweet" href="#"&gt;
                          &lt;span class=" at300bs at15nc at15t_twitter"&gt;
                              &lt;span class="at_a11y"&gt;Share on twitter&lt;/span&gt;
                          &lt;/span&gt;
                      &lt;/a&gt;
                      &lt;a class="addthis_button_facebook addthis_button_preferred_1 at300b" title="Facebook" href="#"&gt;
                          &lt;span class=" at300bs at15nc at15t_facebook"&gt;
                              &lt;span class="at_a11y"&gt;Share on facebook&lt;/span&gt;
                          &lt;/span&gt;
                      &lt;/a&gt;
                      &lt;a class="addthis_button_email addthis_button_preferred_3 at300b" 
                         target="_blank" title="Email" href="#"&gt;
                          &lt;span class=" at300bs at15nc at15t_email"&gt;
                              &lt;span class="at_a11y"&gt;Share on email&lt;/span&gt;
                          &lt;/span&gt;
                      &lt;/a&gt;
  
                  &lt;div class="atclear"&gt;&lt;/div&gt;
              &lt;/div&gt;
              &lt;script type="text/javascript"&gt;
                  var addthis_config = {
                      "data_track_addressbar": true
                  };
              &lt;/script&gt;
              &lt;script type="text/javascript" 
                      src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-510b54196b4318c8"&gt;&lt;/script&gt;
              &lt;div id="_atssh" 
                   style="visibility: hidden; height: 1px; width: 1px; position: absolute; z-index: 100000;"&gt;
                  &lt;iframe id="_atssh679" 
                          title="AddThis utility frame" 
                          src="//ct1.addthis.com/static/r07/sh158.html#iit=1400219038582&amp;amp;tmr=load%3D1400219036211%26core%3D1400219036863%26main%3D1400219038575%26ifr%3D1400219038590&amp;amp;cb=0&amp;amp;cdn=0&amp;amp;chr=UTF-8&amp;amp;kw=open%20source%2Cfirst%20planet%2Cfirstplanet%2Cjob%20seekers%2Cunemployment%2Cfreshers%2Crecruitment%2Ctraining%2Cjobs%2Cinformation%20technology%2CIT%20Job%2Cwalkins%2Csatori%2Clamp%2Cdotnet%2Cjava%2Cchennai%2Canna%20salai%2Ctechnologies&amp;amp;ab=-&amp;amp;dh=10.0.1.22&amp;amp;dr=http%3A%2F%2F10.0.1.22%2Ffirstplanet%2Ffpin%2Fdev%2Fpg%2Fsearch%2F%3Ftag%3Da%26entity_subtype%3Dad%26entity_type%3Dobject%26search_type%3Dentities&amp;amp;du=http%3A%2F%2F10.0.1.22%2Ffirstplanet%2Ffpin%2Fdev%2Fpg%2Fad%2Fall%2F&amp;amp;dt=First%20Planet%3A%20Job%20posts&amp;amp;dbg=0&amp;amp;md=0&amp;amp;cap=tc%3D0%26ab%3D1&amp;amp;inst=1&amp;amp;vcl=1&amp;amp;jsl=1&amp;amp;prod=undefined&amp;amp;lng=en-US&amp;amp;ogt=&amp;amp;pc=men&amp;amp;pub=ra-510b54196b4318c8&amp;amp;ssl=0&amp;amp;sid=5375a59c9ed1ff23&amp;amp;srpl=1&amp;amp;srcs=1&amp;amp;srd=1&amp;amp;srf=1&amp;amp;srx=1&amp;amp;ver=300&amp;amp;xck=0&amp;amp;xtr=0&amp;amp;og=&amp;amp;aa=0&amp;amp;csi=undefined&amp;amp;rev=1399981304&amp;amp;ct=1&amp;amp;xld=1&amp;amp;xd=1&amp;amp;fcu=U3WlnIGSxBl" 
                          style="height: 1px; width: 1px; position: absolute; z-index: 100000; border: 0px; left: 0px; top: 0px;"&gt;
                  &lt;/iframe&gt;
              &lt;/div&gt;
              &lt;script type="text/javascript" 
                      src="http://ct1.addthis.com/static/r07/core131.js"&gt;&lt;/script&gt;
              &lt;!-- AddThis Button END --&gt;
  </code></pre>
  
  <p>In this i want when i will click <code>Refer your friends</code> it will trigger <code>addthis_button_email</code> <code>addthis_button_preferred_3 at300b</code> &amp; it will show a pop up.</p>
  
  <p>I tried below code</p>
  
  <pre><code>jQuery("div#starpline_timestamp_refer").click(function(){
         // trigger second button 
         jQuery(".addthis_button_email addthis_button_preferred_3 at300b").click()
         return false;
      });
  </code></pre>
  
  <p>Okay some how its triggered now. </p>
  
  <p>Actually its a list of items. I have shown one item only. So every time if i click it takes last item property. Can we select properly one item from the list. How can we do that ?</p>