This is my HTML:
<div class="objectA"></div>
<div class="objectB"></div>
<div class="objectA"></div>
<div class="objectB"></div>
When i use this script nothing happens:
var allObjects = $("div[class^=object]");
allObjects[1].fadeIn();
But when i use this script, the alert message will be 4, and it will fade all the elements:
var allObjects = $("div[class^=object]");
allObjects.fadeIn();
alert(allObjects.lenght);
so i know i got the elements i wanted into an array, but how can i effect each 1 individually?