<div id="w01">
<img src=g_bur/01.jpg alt='img'>
<img src=g_bur/02.jpg alt='img'>
<img src=g_bur/03.jpg alt='img'>
</div>
I need an array of elements made from this images
js
var arr = [];
$("#w01 > img").each(function(){
arr.push($(this));
}
alert (arr) //error
Error: Uncaught SyntaxError: Unexpected identifier