title: Test for events registered to a given object with .live()
body: <p>I've tried the answer suggested <a href="https://stackoverflow.com/q/2518421/409279">here</a>, which follows with nearly all answers to similar/duplicate questions. Checking <code>.data('events')</code> simply isn't working, returning <code>undefined</code> for objects I had previously (<em>immediately at that</em>) registered an event to.</p>
  <p>Now, the caveat is that I'm actually registering said events with <code>.live()</code>, rather than <code>.bind()</code> or the alias methods.</p>
  <hr />
  <p>I just read (<em>previous to my even posting the question</em>) the following from jQuery on <code>.live()</code>:</p>
  <blockquote>
  <p>The <code>.live()</code> method is able to affect elements that have not yet been added to the DOM through the use of event delegation: a handler bound to an ancestor element is responsible for events that are triggered on its descendants. <strong>The handler passed to <code>.live()</code> is never bound to an element; instead, <code>.live()</code> binds a special handler to the root of the DOM tree</strong>. In the example above, when the new element is clicked...</p>
  </blockquote>
  <p>Given this information, what would I do (<em>if possible at all</em>) to check whether an event is &quot;registered&quot; to a given object with <code>.live()</code>? With this new-found information, I'm guessing it'll start with the <code>window</code> or <code>document</code> object...</p>
  <hr />
  <p><strong>Idea update:</strong> If there is a way to tap into the DOM monitoring capabilities of <code>.live()</code>, perhaps I could simply re-bind events via <code>.bind()</code> whenever a change occurs (<em>identically to that of <code>.live()</code>, with however, support for the <code>.data('events')</code> inspection as the events are directly bound.</em>)</p>