I have some problems with selecting elements, with Jquery. When i try to select a element:
var images = $("#htmlChunk").find("img.Thumb");
console.log(images);
i get this result:
>[<img>, <img>, prevObject: e.fn.e.init[1], context: #document, selector: "#htmlChunk img.Thumb"]
What is causing this returned result? I tried some things but still dont get the result i wanted.
i tried to wrap the code to avoid conflict's. i tried to clear the object
This was something i found on the web. http://drupal.org/node/272557
var images = $("#htmlChunk")['prevObject'].find("img.Thumb");
i get returned a object now, but thats also not what i wanted.
I jumped into this project so i am not well-known with the script. i tried to search for prevObject in the js files but could'nt find any.
I think the problem is that it is interfering with some other javascript file. any ideas? directions?
Edit: htmlChunk:
<div id="htmlChunk">
<div class="ngg-albumoverview">
<div class="ngg-album-compact">
<div class="ngg-album-compactbox">
<div class="ngg-album-link">
<a class="Link" href="http://........">
<img class="Thumb" alt="Personeelsevent" src="http://.........">
</a>
</div>
</div>
<h4><a class="ngg-album-desc" title="Personeelsevent" href="http://.....">Personeelsevent</a></h4>
<p><a href="http:///.......">bekijk dit album</a></p>
</div>
</div>
</div>