JQuery Get current ID of Widget
<p>I have have the following</p>

<pre><code>&lt;div id="dualList"&gt;&lt;/div&gt;
</code></pre>

<p>And I have written a plugin but for the sake of testing I have stripped it away.  I am having problems with the plugin displaying the id of the div.</p>

<pre><code>&lt;script&gt;
(function($) {
    $.fn.DualList = function() {
    var thisControl = $(this);
    alert(thisControl.attr('id'));
}
})(jQuery);
&lt;/script&gt;
</code></pre>

<p>And its bound on document on ready using
    <b>$("#dualList").DualList();</b></p>

<p>Any ideas why the ID isnt echoing out?</p>
