Expecting HTMLImageElement but getting simple Object when iterating over jQuery list of img tags
<p>I am gather imgs:</p>

<pre><code>container.find('img')
</code></pre>

<p>Log says this is (console.log('img '+imgs[0]))</p>

<blockquote>
  <p>[object HTMLImageElement]</p>
</blockquote>

<p>But when I iterating over this list with each():</p>

<pre><code>            container.find('img').each(function(idx) {
                var curr = $(this);
                                    console.log('curr ' + curr);

        });
</code></pre>

<p>I am getting:</p>

<blockquote>
  <p>[object Object]</p>
</blockquote>

<p>I think it is reason of my anotger problem of checking existance in array:</p>

<pre><code>        if (! jQuery.inArray(curr, hiddenImgs)) {
              hiddenImgs.push(curr);
            }
</code></pre>

<p>And even that I am sure that element is no in array I am getting FALSE :/</p>

<p>It's crazy. Could someone help?</p>
