[jQuery] looping through an js array

[jQuery] looping through an js array

I've been trying to do a simple loop through an array with no success do I use the right syntaxes
            var myArray = ['hello','bob','roger']
            $(myArray).each(function(i){
                alert(this)
            })
Many Thanks
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/