Attach an event to a custom attribute in a <td /> with jQuery
<p>I am using jQgrid for doing a table and I want to add an event to a concrete column and I don't want to pass html with PHP so I want to attach an event and do some work. The problem is that there is no class and no id, I just have this:</p>

<pre><code>&lt;td aria-describedby="list_description" title="lorem ipsum" style="" role="gridcell"&gt;lorem ipsum&lt;/td&gt;
</code></pre>

<p>All the <code>&lt;td /&gt;</code>'s have a aria-describedby, in this case the list_description is where I want to attach an event. In a class way, I'll do something like <code>$(".list_description").live("click",function(){});</code> (because is loaded via AJAX) but how I can do it with that custom attribute?</p>

<p>And then, when I click to an <code>area-describedby="list_description"</code> I need to get the value of <code>area-describedby="list_id"</code> that is in the same `.</p>

<p>An example code:</p>

<pre><code>&lt;tr&gt;
    &lt;td aria-describedby="list_id" title="1" style="" role="gridcell"&gt;1&lt;/td&gt;
    &lt;td aria-describedby="list_description" title="lorem ipsum" style="" role="gridcell"&gt;lorem ipsum&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
    &lt;td aria-describedby="list_id" title="2" style="" role="gridcell"&gt;2&lt;/td&gt;
    &lt;td aria-describedby="list_description" title="lorem ipsum" style="" role="gridcell"&gt;lorem ipsum&lt;/td&gt;
&lt;/tr&gt;
</code></pre>

<p>How I can do it?</p>
