Check ID of a clicked item?
<p>I have a delegate like:</p>

<pre><code>$('#panel').delegate('li', 'click', function(event) {
    var target = $(event.target);

    // how do we get the ID of 'target'?
    var id = target.getId(?);
});
</code></pre>

<p>Yeah I'm just not sure how to get 'target's ID, because I want to check if it is a particular element to perform some action on later.</p>

<p>Thanks</p>
