Selecting multiple elements and storing them in a variable
Hello, just a very basic question. Have a div (id - photos) with multiple images. 1) Does this select them all? $('#photos img') 2)If so, how can i capture this information? Like so -> var bunchOfStuff = ($('#photos img')); and 3) if so, why can't i do something like alert(bunchOfStuff.length) I realize there is something incredibly basic I just don't understand yet, but I can't seem to figure it out on my own. Thanks in advance PS - sorry if formatting sucks - I can't figure out how to make a new line / not insert everything into code tags...