how do i get the attribute value with comparing another attribute?
<pre><code>&lt;tbody&gt;
&lt;tr class="taskEditRow" rowid="1" level="0" taskid="-1" __template="TASKROW"&gt;
&lt;tr class="taskEditRow" rowid="2" level="1" taskid="-2" __template="TASKROW"&gt;
&lt;tr class="taskEditRow" rowid="3" level="2" taskid="-3" __template="TASKROW"&gt;
&lt;tr class="taskEditRow" rowid="4" level="2" taskid="-4" __template="TASKROW"&gt;
&lt;/tbody&gt;
</code></pre>

<p>here i want to get the rowid with comparing task id using jquery</p>

<pre><code>var x=$(".taskEditRow").attr("taskid==-1");

var y=x.attr("rowid");
</code></pre>

<p>like i want rowid with comparing of taskid</p>
