Listening to Trigger
<p>I am using a library that when complete will trigger an event via <code>$(document).trigger('playlistDone');</code>. I am listening to this trigger but I am not getting the <code>alert()</code> I am expecting.</p>

<pre><code>$(document).bind('playlistDone', function() {
   alert('done');
}); 
</code></pre>

<p>What am I doing wrong?</p>
