JQuery - Get attribute of higher-level item
<p>I am trying to get the ID of <code>item1</code> but it does not return the ID in the code below.  Is there a ways to get the ID of a higher-level function?</p>

<p>I assume that the code is trying to get the ID of <code>popup</code> but that is both not needed and does not exist.  Can I get the higher-level function's ID or can I pass it down to the lower function as a parameter?</p>

<pre><code>$(".item1").live ("click" ,function(){
    $('.popup_pre_loading').css('display','none');
        $('.popup').fadeIn( 800, function(){
        alert((this).attr('id'));//need this for URL param
      });
      return false;
});
</code></pre>

<p>Please note that this code works when the the alert box is directly within the <code>item</code>'s function.</p>
