JQuery. Finding div which has specific data() associated to it
<p>Using the <code>data()</code> function I add two values to some <code>divs</code> (<code>$oRow</code> points to divs)</p>

<pre><code>$oRow.data("more", {moreValue: 750, moreIndex: 4});
</code></pre>

<p>Later on I'm trying to find the <code>div</code> (there is only one) which has a specific value for <code>moreIndex</code></p>

<p>I'm doing it like so:</p>

<pre><code>$oMore = $(".meter_battery_row").filter(function(){
                   return $.data(this, "more").moreIndex == 4;
                   }); 
</code></pre>

<p>But it doesn't seem to work. After the above line I display <code>window.alert($oMore)</code> but it seems it doesn't get to this line, so it runs in some kind of problem in the filter  function.</p>

<p>Anyone got any ideas?</p>

<p><strong>EDIT</strong></p>

<p><code>.meter_battery_row</code> are the classes of <code>divs</code> to which i attach the data values. (<code>$oRow</code> is of class <code>.meter_battery_row</code>)</p>
