I have a table of images all with the class .pics and I want to use Javascript to pull the actual pictures from the HTML table and put them into an array.
After that I want to randomly select an image from the array and change its brightness level.
I tried doing this:
var allPics = [];
$(".pics").each (function (){ allPics.push (this); });
but no dice.
Thanks!
$(allPics[x])will give you a jQuery equivalent if you are failing there...