jQuery find data attribute value
<p>Hello i have a table with Data attribute and i what to find if the data attribute has the same value.</p>

<pre><code> &lt;tr style="height: 40px;" cart-item="" data-line-weight="10" data-total-lien="10" data-item-barcode="3434" class="tablerow" id="rowid1"&gt;
</code></pre>

<p>I am trying to find the TR that has  data-item-barcode is equal "3434"
 and change the value of the input filed that is inside the TR that was found</p>

<pre><code>&lt;tr style="height: 40px;" cart-item="" data-line-weight="10" data-total-lien="10" data-item-barcode="3434" class="tablerow" id="rowid1"&gt;
&lt;td width="210" class="text-left" style="line-height:30px;"&gt;
&lt;span style="text-transform: uppercase;"&gt;food&lt;/span&gt;&lt;/td&gt;
&lt;td width="130" class="text-center" style="line-height:30px;"&gt;10&lt;/td&gt;
&lt;td width="145" class="text-center"&gt;&lt;div class="input-group input-group-sm"&gt;
&lt;span class="input-group-btn"&gt;
&lt;button class="btn btn-default item-reduce" type="button" id="reduce1"&gt;-&lt;/button&gt;
&lt;/span&gt;
&lt;input type="number" name="QNY[]" value="1" class="form-control qny" aria-describedby="sizing-addon3" id="qny1"&gt;
&lt;span class="input-group-btn"&gt;&lt;button class="btn btn-default item-add" type="button" id="addB1"&gt;+&lt;/button&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
</code></pre>

<p>Thanks</p>