Reading label Id
<p>I'm having a table in which i'm creating a label dynamically.</p>

<pre><code>'&lt;td&gt;' + '&lt;label for="Name" id = ' + value + '&gt;' + text + '&lt;/label&gt;&lt;/td&gt;'
</code></pre>

<p>I want to retrieve the id of the label and I`m doing the following which is not working:
How can I get the Id of the label? </p>

<pre><code>function ReadNames() {
            $('#Table tr').each(function() {
                NameID.push($(this).find('label').val());
            });   } 
</code></pre>
