jquery variable issue?
<p>I am trying to get and pass a rel attr to tell which tab to select in a nyro pop up function.</p>

<pre><code>function guestlist (selector) {
    $(selector).nyroModal({
        hideContent: newHide,
        endShowContent: function () {
            var getNumbers = $(selector).attr('rel');
            alert(getNumbers);
            specialwater();
            tabs('#manage-guestlist',getNumbers);
        }
    });    
}

guestlist('a.see-all');
</code></pre>

<p>How do I get that number into the callback endShowContent?</p>

<p><strong>Update:</strong>
This is being used on different links with different rel values</p>

<p><strong>HTML</strong>
These are 2 links in the DOM I need to get the rel values on the above click function which nyro handles.</p>

<pre><code>&lt;a  href="/events/manage_guestlist" class="see-all" rel="1"&gt;See All&lt;/a&gt;
&lt;a  href="/events/manage_guestlist" class="see-all" rel="0"&gt;See All&lt;/a&gt;
</code></pre>
