How do I access an attribute of a "selected" element inline?
<p>The following code doesn't work! 'this' in in the context when i access it is the document. </p>

<pre><code>$(document).ready(function(){
  $(".myclass[id]").html(this.id);
});
</code></pre>

<p>How do I do the above without writing an extension or plugin? Is it possible?</p>
