Accessing the Id attribute with jQuery
<p>I am generating a table and add some fields with jQuery:</p>

<pre><code>$('tr[id^="id-"]').prepend("&lt;td&gt;&lt;!-- generated by js admin/index.php #498 --&gt;&lt;input type='checkbox' name='"+$(this).id+"' id='' class='checkbos_gruppe' /&gt;&lt;/td&gt;");
</code></pre>

<p>This part is causing problems:</p>

<pre><code>name='"+$(this).id+"' 
</code></pre>

<p>I want to create an element with name of it's parent, so just take the id of the <code>tr</code> element.</p>

<p>anyone have a better idea?</p>
