How can I get information about events that are bound to an element via live()?
<p>I have one <code>&lt;a&gt;</code> tag and bind to it two events.  How I can get information about other events attached to it?</p>

<p>The follow code explains what I mean:</p>

<pre><code>&lt;a href="#" id="sample" class="sample-cls"&gt;Click me&lt;/a&gt;

$(function(){
    $('#sample').live("click", function(){
        sampleFunction();
    })
    $('.sample-cls').live("click", function(){
        // How to get information that to this link 
        // is attached another event, that run sampleFunction() ?
    })
})
</code></pre>

<p>Unfortunately, <code>$('#sample').data('events')</code> doesn't include the events bound via <code>live()</code>.</p>
