Why does the command, alert($(this).attr("id")); return "undefined"?
<p>Why does the command</p>

<pre><code>alert($(this).attr("id"));
</code></pre>

<p>return "undefined"? I'm using it in ASP NET and Internet Explorer 8.</p>
