I'm trying to get a specific set of images into an array but it's not working.
The above works but isn't specific enough.Code:y = document.getElementsByTagName('img');
The above is what I want but doesn't work. How can I achieve this?Code:y = document.getElementById('test').getElementsByTagName('img');
Basically I need to use...
on some images in a loop based on specific conditions but only the ones inside the specific div.Code:$(y[z]).css("display", "none");