by jquery, after row click handler return first td attribute in clicked row
<p><code>$('#myTable tr:last');</code> i get a tr content(without <code>tr</code> tag). how can i get tr attribute? I can't. then tried to get attribute <strong>er</strong> from first <code>td</code> on clicked row. and now same problem. </p>

<pre><code>$('#myTable tr').click(function() {
   var State = $(this).find("td:first-child").attr("er"); // this code is false
   alert(State);
});
</code></pre>

<p><strong>My HTML</strong></p>

<pre><code>             &lt;table width="600px" cellspacing="0" border="1" id="myTable"&gt;
                &lt;tr&gt;
                    &lt;th&gt;
                        ...
                    &lt;/th&gt;
                    &lt;th&gt;
                        ...
                    &lt;/th&gt;
                    &lt;th&gt;
                        ...
                    &lt;/th&gt;
                    &lt;th&gt;
                        ...
                    &lt;/th&gt;
                    &lt;th&gt;
                        ...
                    &lt;/th&gt;
                    &lt;th&gt;
                    !
                    &lt;/th&gt;
                &lt;/tr&gt;
                &lt;tr bgcolor="#484848"&gt;
                    &lt;td width="152px;" class="textField" er="editable"&gt;
                        &lt;input type="text" value="" /&gt;
                    &lt;/td&gt;
                    &lt;td width="350px;"&gt;
                        &lt;textarea cols="40" rows="3"&gt;&lt;/textarea&gt;
                    &lt;/td&gt;
                    &lt;td&gt;
                        &lt;select disabled="disabled"&gt;
                            //options
                        &lt;/select&gt;
                    &lt;/td&gt;
                    &lt;td width="152px;"&gt;
                        &lt;input type="text" /&gt;
                    &lt;/td&gt;
                    &lt;td&gt;
                        &lt;input type="checkbox" /&gt;
                    &lt;/td&gt;
                    &lt;td&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
            &lt;/table&gt;
</code></pre>
